Thanks a lot. That was a great help. Only a few lines, too.

On Fri, Jul 22, 2011 at 5:21 PM, Michael Bedward
<[email protected]>wrote:

> Just to add to Jody's answer, if you need to work with Strings use the
> JTS WKTReader class to create a Geometry object from the String that
> you can then pass to the modifyFeatures method.
>
> For your example of a point position the string value would be
> something like POINT(1.234 5.678).
>
> Michael
>
> On 22 July 2011 16:53, Jody Garnett <[email protected]> wrote:
> > It needs to be an object like a JTS Geometry.
> > --
> > Jody Garnett
> >
> > On Friday, 22 July 2011 at 3:01 PM, rBartel wrote:
> >
> > I'd like to modify a field in a row in my database, where the field
> happens
> > to be a geometry. I already have a setup where I can send a string for
> any
> > other field and it will be modified accordingly, so it would be really
> > convenient (though not necessary) to do the same for this.
> >
> > Can FeatureStore.modifyFeatures(property, value, filter) update a
> geometry
> > field when "value" is a String, or does it need an Object, like a
> > DirectPosition2D? If it can, what sort of format does the string need to
> be
> > in?
> >
> > --
> > View this message in context:
> >
> http://osgeo-org.1803224.n2.nabble.com/Trying-to-modify-a-geometry-field-by-sending-a-string-to-wfst-tp6609356p6609356.html
> > Sent from the geotools-gt2-users mailing list archive at Nabble.com.
> >
> >
> ------------------------------------------------------------------------------
> > 10 Tips for Better Web Security
> > Learn 10 ways to better secure your business today. Topics covered
> include:
> > Web security, SSL, hacker attacks & Denial of Service (DoS), private
> keys,
> > security Microsoft Exchange, secure Instant Messaging, and much more.
> > http://www.accelacomm.com/jaw/sfnl/114/51426210/
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
> >
> ------------------------------------------------------------------------------
> > 10 Tips for Better Web Security
> > Learn 10 ways to better secure your business today. Topics covered
> include:
> > Web security, SSL, hacker attacks & Denial of Service (DoS), private
> keys,
> > security Microsoft Exchange, secure Instant Messaging, and much more.
> > http://www.accelacomm.com/jaw/sfnl/114/51426210/
> > _______________________________________________
> > Geotools-gt2-users mailing list
> > [email protected]
> > https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
> >
> >
>
------------------------------------------------------------------------------
Magic Quadrant for Content-Aware Data Loss Prevention
Research study explores the data loss prevention market. Includes in-depth
analysis on the changes within the DLP market, and the criteria used to
evaluate the strengths and weaknesses of these DLP solutions.
http://www.accelacomm.com/jaw/sfnl/114/51385063/
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to