Hi list,

i try to render a point on top of an existing wms-generated map. i have the epsg:xxxx code, mapextent, width/size and so on. It wasn't a big deal to render a point on top of the map as long as i used test coordinates like 5.0 5.0 and a srid of -1 and a default wgs84 crs (as crs of my featureType). but using it with real wms maps and given srids leads to multiple exceptions thrown in the "liteRenderer".
They're depending on a faulty instanciation of the crs of my point feature i guess. If the liteRenderer want's to do coordinate tranformations wherefore it needs the coordinatereference system of my featureType exceptions are thrown...

So my question is, how do i create best a single point using a given epsg:xxxx srid string. Do i have to access a epsg database ?

Additional,  how are the JTS srid and the GeoTools coordinatereferencesytem interconnected. It seems to me the JTS srid is not more than an identifier.

Thanx,
Chris


Reply via email to