I am having trouble understanding your question; responses inline.

Pedro Marcelo wrote:
> Good morning
>
> I am giving my first steps in GEOTOOLS and I have a problem, I am 
> using maps (. Shp) argentina cities, which have drawn segments (blocks 
> of streets) and GT2 with CQL get a specific segment but the 
> coordinates of the points compose this segment are not always well, 
> are only good in those segments slope of the positive and negative are 
> apparently displaced in the Y. The coordinates of the segments get:
So you are saying feature.getBounds() is wrong? It could be the case ... 
can you provide a the values? So we can see how they are different.
> feature.getBounds (). getMinX ()
> feature.getBounds (). getMinY ()
> feature.getBounds (). getMaxX ()
> feature.getBounds (). getMaxY ()
I am unsure if the bounds are being taken directly out of your shapefile 
(some formats store the bounds seperate from the geometry for speed); or 
are generated from the LineStrings on the fly.
> My question is, how has this point I must implement any 
> transformation? Does either before carrying out the consultation CQL 
> somehow I configure the map with some reference system?.
I am not sure what you mean by CQL here? Are you talking about the 
bounds you use when making a request? They should match your data 
coordinate reference system.
> Another system of coordinates feacture.getBounds() is "GCS_WGS_1984".
> Since thank you very much.
> Pedro
All the best,
Jody

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Geotools-gt2-users mailing list
Geotools-gt2-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users

Reply via email to