Yes. If you have performed a search and now have SpatialDatabaseRecord
results, then that is the best method to use.

On Thu, Jul 28, 2011 at 6:03 AM, Christopher Schmidt <
[email protected]> wrote:

> So best is to use SpatialDatabaseRecord.getGeometry()?
>
> Christopher
>
> On Wed, Jul 27, 2011 at 10:50 PM, Craig Taverner <[email protected]> wrote:
>
> > Actually we do allow multiple geometry types in the same layer, but some
> > actions, like export to shapely, will fail. We even test for this in
> > TestDynamicLayers.
> >
> > You can use the gtype if you want, but it is specific to some
> > GeometryEncoders, and might change in future releases. It would be better
> > to
> > get the layers geometry encoder and use that.
> > On Jul 27, 2011 6:04 PM, "Peter Neubauer" <
> > [email protected]>
> > wrote:
> > > Christopher,
> > > What do you mean by allowing to use? Yes, these properties are used to
> > > store the Geometry Type for a Layer and for geometry nodes. Sadly, you
> > > cannot have more than one Geometry in Layers due to the limitations of
> > > e.g. the GeoTools stack.
> > >
> > > Cheers,
> > >
> > > /peter neubauer
> > >
> > > GTalk:      neubauer.peter
> > > Skype       peter.neubauer
> > > Phone       +46 704 106975
> > > LinkedIn   http://www.linkedin.com/in/neubauer
> > > Twitter      http://twitter.com/peterneubauer
> > >
> > > http://www.neo4j.org               - Your high performance graph
> > database.
> > > http://startupbootcamp.org/    - Ă–resund - Innovation happens HERE.
> > > http://www.thoughtmade.com - Scandinavia's coolest Bring-a-Thing
> party.
> > >
> > >
> > >
> > > On Wed, Jul 27, 2011 at 4:07 AM, Christopher Schmidt
> > > <[email protected]> wrote:
> > >> Hi all,
> > >>
> > >> is it allowed to use the gtype-property to get the geometry type
> > numbers?
> > >>
> > >> (Which are defined in org.neo4j.gis.spatial.Constants)
> > >>
> > >> --
> > >> Christopher
> > >> twitter: @fakod
> > >> blog: http://blog.fakod.eu
> > >> _______________________________________________
> > >> Neo4j mailing list
> > >> [email protected]
> > >> https://lists.neo4j.org/mailman/listinfo/user
> > >>
> > > _______________________________________________
> > > Neo4j mailing list
> > > [email protected]
> > > https://lists.neo4j.org/mailman/listinfo/user
> > _______________________________________________
> > Neo4j mailing list
> > [email protected]
> > https://lists.neo4j.org/mailman/listinfo/user
> >
>
>
>
> --
> Christopher
> twitter: @fakod
> blog: http://blog.fakod.eu
> _______________________________________________
> Neo4j mailing list
> [email protected]
> https://lists.neo4j.org/mailman/listinfo/user
>
_______________________________________________
Neo4j mailing list
[email protected]
https://lists.neo4j.org/mailman/listinfo/user

Reply via email to