-
Notifications
You must be signed in to change notification settings - Fork 11
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Question: How to publish new layer for type "neo4j" #3
Comments
I plan on updating the docs this weekend, but you will need to
I hope this helps! |
This seems to work for postgis, but not for neo4j Is there any log (or something similar) where I can get some more details? |
Sorry, if you are getting false it means something is not working correctly. I just added some verbose logging to the feature type commands. Turn verbose logging on
and then give it a try. I don't have Neo4J set up and have never used it before (but it looks pretty cool) so it's hard to debug. I would suggest using curl form the command line using the correct url and xml doc http://docs.geoserver.org/stable/en/user/rest/api/featuretypes.html and then looking at the raw response and maybe looking at the geoserver logs. I really appreciate your help and persistence. |
Thanks to the verbose mode my understanding of geoserver's rest interface is a bit better now 👍 However, I still can not create the layer I want to create.
My response looks like this
As I got interested in the xml format I also tried to create the layer I want in the geoserver's webinterface and to see what happened. After creating the layer I can do the following:
The reponse for this command is:
Interesting is that the following command leads to a NullPointerException (not sure why):
|
I fixed the NullPointerException when using "featuretype get" (see my pull request #5), but I am still not sure where the problem is... ...when creating the featuretype the geoserver's log contains a "schema creation not supported" so I guess my specified schema is not correct... |
I was wondering if it is possible to create a new layer for a neo4j datastore.
By now I am able to create the workspace and the datastore for neo4j (and I am also able to activate it)... but when it comes to layer creation I still need the webgui.
There I can easily click "create new layer" select my "Neo4J datastore" and publish my datafile (which looks something like "/opt/ibk-20131101.osm"). After that I can give the published layer a name, select the EPSG:4326 as reference system and activate the layer with line style.
How would I do that with geoserver-shell?
The text was updated successfully, but these errors were encountered: