python - Publishing geospatial data with Plone -
i setting new site on plone using collective.geo.bundle, need make data accessible desktop gis. 2 obvious ways of doing use postgres/postgis database, or publish data through wfs service. problem appears plone stores pickles in database, gis wouldn't able make sense of data, , there doesn't seem addon exposes wfs. 2 questions then:
is there way use configure plone use postgres/postgis database geometry data types, data can read outside plone?
is there way set plone (e.g. through addon) expose wfs?
tl;dr: don't think there out-of-the-box solution (using collective.geo.*
) this.
as mentioned in comments, plone doesn't deal geospatial data @ all, it's collective.geo.geographer
this. more specifically, it's georeferencingannotator
saves coordinates igeoreferenceable
objects annotations (and loads them there).
so, forcing plone store content in relational db, example using relstorage
wont - plone or relstorage don't know geospatial data, , store annotations other.
however, shouldn't too hard write own iwritegeoreferenced
adapter writes georeferencing data postgis database instead of annotations, using uuid of context link data objects, , maybe store additional metadata title or url. georeferencing data separate actual content - there's no need put plone content postgresql db.
a different approach write event handler objectgeoreferencedevent
, , publish georeferencing data postgis db (in addition having stored in annotations on actual objects). since want access read-only desktop gis, wouldn't have worry syncing data in both directions.
last not least, suggest have @ collective.geo
mailing list - people on there responsive , helpful, , imagine else had same use case.
Comments
Post a Comment