Skip to main content

Hi, can I have some advise on which is the best transformer to use? I have an overlay of topographic features in PostGIS. I have another overlay which consists of boundaries of 10 electoral districts. The electoral districts each have an attribute of feature name. How doI assign the feature name from each electoral district to every topograhic feature as a new attribute of that dataset?

I then want to write out the topographic overlay to individual gml files for each electoral district.

I've tried AeaOnArea and SpatialRelator but am struggling.

Thanks

Jon

I would use a PostGIS reader for the 10 districts.

Then use a FeatureReader to read the other tables, using the Spatial query option and merge the attributes.

Another option would be using SQL (if both datasets are in the same PostGIS database) in the SQLCreator transformer to select the joined features.

Hope this helps.


I would use a PostGIS reader for the 10 districts.

Then use a FeatureReader to read the other tables, using the Spatial query option and merge the attributes.

Another option would be using SQL (if both datasets are in the same PostGIS database) in the SQLCreator transformer to select the joined features.

Hope this helps.

Thanks for that. I'll give FeatureReader a try. For info the electoral district overlay is file (MapInfo .tab)


Reply