The website is http://geotools.org/ :-)
The quickstart is also available in a longer form:
- http://geotoolsnews.blogspot.com/2009/11/foss4g-geotools-tutorials.html
You can use this technique to display any DataStore; the connection parameters
for postgis I think you already have sorted out:
- http://docs.codehaus.org/display/GEOTDOC/PostGIS
On 13/06/2010, at 1:22 PM, arnauld ndefo wrote:
> Can i have the link of this website???
> thank you
>
> Ndefo Kamgne Arnauld
> Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
> 0021624249357
>
> --- En date de : Dim 13.6.10, Jody Garnett <[email protected]> a écrit :
>
> De: Jody Garnett <[email protected]>
> Objet: Re: [Geotools-gt2-users] geotools+spatial_ref_sys
> À: "arnauld ndefo" <[email protected]>
> Cc: [email protected]
> Date: Dimanche 13 juin 2010, 4h41
>
> arnauld I have seen the same message from you three times now :-)
>
> We don't question that you want to sort how to reproject your coordinates;
> the examples provided on the website show how to take information from
> postgis and display. Where you are stuck is on your own data and we cannot
> help you.
>
> Jody
>
>
> On 13/06/2010, at 12:11 PM, arnauld ndefo wrote:
>
>> hello everybody,
>> well, these coordinate x=1131270.8550 y=4418856.9693 represent the kind of
>> format which are displayed in my JMapFrame when i run the
>> application.however, i want rathen that in the JMapFrame frame, the
>> coordinate will display like that: lon=10.1702667 lat=36.8532032.
>> I want it like that because, i will draw many LineString or Point on the
>> map. To do this, i have the file .osm which supplied me many node which this
>> kind of format lon=10.1702667 lat=36.8532032.(lon reprensent the longitude
>> and lat represent the latitude).Whereas the format i don't know really this
>> kind of coordinate x=1131270.8550 y=4418856.9693(i supose that x represent
>> the Northing or the longitude and y represent the Easting or the longitude ).
>>
>> If the solution is to convert these coordinate which are displayed on the
>> JMapFrame x=1131270.8550 y=4418856.9693 to lon=10.1702667 lat=36.8532032
>> which will help me to draw without problem the differents LineString please
>> tell me and how can i convert them.
>>
>> May be i don't take very well the informations in the database postgis, and
>> it is why i have a lot of problem. If someone can help me with a little
>> example code to take information into the Postgis database to display this
>> on the JMapFrame interface in order to compare that with my own code.
>>
>> Thank you
>>
>>
>> Ndefo Kamgne Arnauld
>> Cité Ettayour,Immeuble Bolbol 1,Appartement A2,Ariana
>> 0021624249357
>>
>> --- En date de : Sam 12.6.10, Jody Garnett <[email protected]> a écrit :
>>
>> De: Jody Garnett <[email protected]>
>> Objet: Re: [Geotools-gt2-users] geotools+spatial_ref_sys
>> À: "arnauld ndefo" <[email protected]>
>> Cc: [email protected]
>> Date: Samedi 12 juin 2010, 12h38
>>
>> I cannot tell when you just list numbers what is going on? Are you saying
>> your data has the axis the wrong way around? Do you need to covert the data
>> for display?
>>
>> I have worked with the osm dataset before without trouble using postgis; so
>> I suspect you just have things set up a bit wrong. I am not good enough at
>> postgis to tell you what to type to determine your SRID in your tables;
>> perhaps you need to visit the postgis list?
>>
>> Jody
>>
>>
>> On 12/06/2010, at 2:03 PM, arnauld ndefo wrote:
>>
>>> hello every body,
>>> excuse me because i don't know always all to solve my problem.I have tried
>>> many possibilities without success.
>>>
>>> I use the database Postgis. I have a file .osm which represent the area of
>>> a geographic map to transfert data to my database Postgis. This have
>>> created 5 tables :
>>>
>>> "planet_osm_line"
>>> "planet_osm_point"
>>> "planet_osm_polygon"
>>> "planet_osm_roads"
>>> "spatial_ref_sys" and another one.
>>>
>>> Though geotools, i have succed to draw my map from the data which are
>>> stored into the database. But i have always this kind of coordinate:
>>> x=1131270.8550 y=4418856.9693; x=1131439.2747 y=4418792.6636 etc which
>>> represent the point on the map and on the JMapFRame frame i have EPSG: WGS
>>> 84 mentionned .However in the file .osm which resume all the nodes of the
>>> map, i have rather this kind of coordinate: long=10.1623439 lat=36.8545816;
>>> long=10.1702667 lat=36.8532032 etc.
>>>
>>> How can i do to have this king of coordinate lon=10.1623439 lat=36.8545816
>>> rather than this x=1131270.8550 y=4418856.9693????
>>>
>>> Without this, really my project cannot go head.This embarrasses me
>>>
>>> Thank you every body for your help
>>>
>>> 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
>>
>>
>> ------------------------------------------------------------------------------
>> 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
>
>
> ------------------------------------------------------------------------------
> 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
------------------------------------------------------------------------------
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