14

Most GIS are layer based. But I am looking for open-source object-oriented GIS. Is there any out there?

By object-oriented I mean logical data model for vector GIS. Here's explanation of my definitions.

1
  • 1
    Interesting question, I like very much this idea of object oriented representation because that is much more natural way of representing things than the layer-based system and that makes programming a lot easier.
    – Pablo
    Commented Jun 4, 2012 at 18:52

2 Answers 2

10

Neo4j is a graph-based database (where nodes are akin to objects) and Neo4j Spatial is a "library of utilities for Neo4j that faciliates the enabling of spatial operations on data". Some slides here and here.

Also see this related question on StackOverflow: NoSQL and spatial data

Other examples of object-oriented spatial databases are listed in this Wikipedia article: Object-based spatial database

2

I know very little about the theory but I think you can get a pseudo object-oriented solution with Postgis and an ORM like Django framework or SqlAlchemy.

I use a combination of Postgis and Django and the way of dealing with the geographic models is object oriented, but they are stored as a relational database.

For example, you can have a 'point' model and a 'data' (key:value) model.
Any 'point' instance has an add_data() method and also geographic methods like is_near(), contains(), get_xy(), etc.

Than you can have a 'BurgerShop(point)' and BusStop(point) class with special methods like BurgerShop.get_burger_types(), BurgerShop.get_nearest_busstop() or BusStop.get_nearest_burgershop().

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.