GeoTools_changeDataInPostgis

2 messages Options
Embed this post
Permalink
iceDice

GeoTools_changeDataInPostgis

Reply Threaded More More options
Print post
Permalink
Hello,

I would like to change some feature attributes in Postgis database from Java
application using GeoTools API.
I am interested is there any example on which is best way to do such task?

I would appreciate if someone can send me code snippet or point to which API
to use.

Best regards.
iceDice

Re: GeoTools_changeDataInPostgis

Reply Threaded More More options
Print post
Permalink
Hello again,

I succeed to change data in Postgis db using FeatureWriter.write() method on PostgisDataStore.

However when i change data in database my Postgis data store which i loaded before change
is not refreshed (it contain old data). I also try to create data store again after change in database
but without success (still old data in Postgis data store). Is there any way to refresh Postgis data store
to contain new data from database?

I would appreciate if someone can help me about this.

Best regards.

iceDice wrote:
Hello,

I would like to change some feature attributes in Postgis database from Java
application using GeoTools API.
I am interested is there any example on which is best way to do such task?

I would appreciate if someone can send me code snippet or point to which API
to use.

Best regards.