Hello everybody,i have understood what you have told me. But you haven't
understood my anxiety.As i have stayed the last time, i have the file .xml. In
this file, i have the latitude and longitude coordinate in the Degree unit. To
construct the Coordinate object, i will match the X to Longitude and the Y to
latitude.I will take a example.When i want to draw a LineString to this
coordinate:
Coordinate coord1 = new Coordinate(10.1623439,36.8545816)Coordinate coord2 =
new Coordinate(10.1703396,36.8531219);
;( 10.1623439 is the latitude of a node in my file .xml and 36.854581 is the
longitude.) The JMAPFRAME don't display this LineString
But when i do this:
Coordinate coord1 = new Coordinate(1131270.8550,4418856.9693);Coordinate coord2
= new Coordinate(1131439.2747,4418792.6636);
the line is display with the JMapFrame. I don't know what is the unit
of 1131270.8550,4418856.96 and how can i do to have all the coordinate
geographic in my file .xml to this format.
To have this point 1131270.8550,4418856.9693, i have used one button option on
the JMapFrame frame.
Also, when i display the min (X,Y) and max(X,Y) of the ReferenceEnveloppe, i
have seen this
minX=1130433.28minY=4417197.27
maxX=1133360.86maxY=4419251.99
however, in my file .xml i have rather
<bounds minlat='36.8468991' minlon='10.1602292' maxlat='36.853853199999996'
maxlon='10.1741338' origin='CGImap 0.0.2' /> Here is what looks my file .xml of
my geographic area
<node id='243997182' timestamp='2008-01-29T14:58:17Z' uid='22060'
user='chrischan' visible='true' version='1' changeset='708944' lat='36.8570917'
lon='10.1670734' /> <node id='243997183' timestamp='2008-01-29T14:58:17Z'
uid='22060' user='chrischan' visible='true' version='1' changeset='708944'
lat='36.8554984' lon='10.1685669' /> <node id='243997185'
timestamp='2009-05-12T23:28:34Z' uid='123321' user='Hatem' visible='true'
version='2' changeset='1170291' lat='36.8536855' lon='10.1699434' /> <node
id='243997186' timestamp='2008-01-29T14:58:17Z' uid='22060' user='chrischan'
visible='true' version='1' changeset='708944' lat='36.852923' lon='10.1704466'
/> <node id='243997187' timestamp='2008-01-29T14:58:17Z' uid='22060'
user='chrischan' visible='true' version='1' changeset='708944' lat='36.8524628'
lon='10.170644' /> <node id='243997188' timestamp='2008-01-29T14:58:17Z'
uid='22060' user='chrischan' visible='true' version='1'
changeset='708944' lat='36.852037' lon='10.1707041' /> <node id='243997189'
timestamp='2009-05-12T19:23:58Z' uid='123321' user='Hatem' visible='true'
version='2' changeset='1167652' lat='36.8515842' lon='10.1706955' /> <node
id='243997190' timestamp='2008-01-29T14:58:17Z' uid='22060' user='chrischan'
visible='true' version='1' changeset='708944' lat='36.8507046' lon='10.1704895'
/>
Then, i want to know how with the information in my file .xml i can construct
the object Coordinate()????
Or else, how to bring back the
minX=1130433.28minY=4417197.27
maxX=1133360.86maxY=4419251.99
to minlat='36.8468991' minlon='10.1602292' maxlat='36.853853199999996'
maxlon='10.1741338to use the information which are into my file .xml
Thank you for your help.It is so important for me
Ndefo Kamgne Arnauld
Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
0021624249357
------------------------------------------------------------------------------
ThinkGeek and WIRED's GeekDad team up for the Ultimate
GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the
lucky parental unit. See the prize list and enter to win:
http://p.sf.net/sfu/thinkgeek-promo
_______________________________________________
Geotools-gt2-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users