Unfortunately the only methods supported by the REST API are those found in
this class:
https://github.com/neo4j/spatial/blob/master/src/main/java/org/neo4j/gis/spatial/server/plugin/SpatialPlugin.java

To be honest, the REST API on spatial was written as an initial draft to
receive feedback from the community before write a real API. And then
nothing further was done on it for ages. So the current API should be
considered alpha. There are many things that could be done, and would be
relatively easy to be done, including deleting layers.

You have two choices:

   - Write your own spatial plugin, inspired by the one linked above, and
   designed to do everything you really need done.
   - Or fork neo4j-spatial, add the missing methods and send a pull request

Or wait for us to add these features to the REST API. There are plans to
accelerate development on spatial later this year, and I believe REST will
be part of the work done. But don't expect anything very soon.

As a reminder of this work, I added this issue
https://github.com/neo4j/spatial/issues/139


On Tue, May 13, 2014 at 4:20 PM, zapo <[email protected]> wrote:

> hi,
> is it possible to delete a layer from the REST API ?
> regards
>
> --
> You received this message because you are subscribed to the Google Groups
> "Neo4j" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Neo4j" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to