Hello -

I have a need of taking a shapefile and loading it into a PostGIS database
table.  Some of the attributes from the shapefile translate into columns on
the postgis database table, while others will be stuffed inside a JSON
column as a key value pair as: {"AttributeName": AttributeValue.....}

I would need to do 2 things:

1) Create a FeatureTypeBuilder that is able to specify a Map<String,Object>
attribute and
2) Define a FeatureSource that is able to translate the Map<String,Object>
attribute to a Postgres JSON data type.

I have a few questions.
Are the 2 steps I have outlined above correct?

If so - would someone have a suggestion of where to find pointers as to how
to implement this?

Kind regards,
Alessandro
_______________________________________________
GeoTools-GT2-Users mailing list
GeoTools-GT2-Users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to