Why would you have to do that in SQL? Why you cannot import PGPoint and PGPolygon in Pharo?
Sure,
I'll collect georeferenced data in a mobile app, which I'll later have to group each one according to whether they fall inside a certain polygon (geopolitcal boundaries, like city, district, province, etc.). I could also geocode the coordinate and store all that data (city, district, province, etc.), and then just group by each of these. And then I'll have to plot that data on a choropleth map.
But I'm asking to know if somebody has somehow mapped smalltalk geometry objects to the typical geometry object of PostGIS. Something like PGPoint, PGPolygon, that can "translate" themselves from/to string literals.
I'm trying to avoid writing everything by hand in SQL.
Regards!
pd: I'm also considering using something like CartoDB for this task, which is a few levels of abstraction higher.
Esteban A. Maringolo
2015-01-28 16:07 GMT-03:00 Hernán Morales Durand <hernan.morales@gmail.com <mailto:hernan.morales@gmail.com>>:
Can you comment what are you trying to do?
Hernán
2015-01-28 13:10 GMT-03:00 Esteban A. Maringolo <emaringolo@gmail.com <mailto:emaringolo@gmail.com>>:
Is there anybody using PostGIS in Pharo?
Regards!
Esteban A. Maringolo