Antoine Weber wrote: > 2008/7/10 Jody Garnett <[EMAIL PROTECTED] > <mailto:[EMAIL PROTECTED]>>: > > So what is the error in the API? Where are you stuck; what class > or method? > > > No error in the Api (as far as I know) , but only with the way I used it. > > Ah; so "referencing" to these map geeks is the same kind of thing > as "units". I could tell you "3" distance; but that would not mean > anything to you - I have to say "3 feet" or "3 meters" for the > number 3 to have any meaning. > Referencing is the same deal; it say what the numbers mean; has > the names of the axis and what the values are measured in etc... > > > In my application units are meters, in what object should I precise this? It depends on where in the world you are; in British Columbia we use: CRS.decode("EPSG:4326") - it gives us an "equal area" projection measured in meters. > > I see; then you cannot really make a map right? There is one small > hope - there *is* a reference thing code thing > (CoordinateReferenceSystem) for "engineering" or "cartisian" > coordinates. Perhaps you can make use of that? > > > I suppose my map correct, because I can open it in a application like > QGIS, nevertheless ArcGIS (which seem to be the most used one) can't > open my files , probably because of the referencing problem. Probably; I was more thinking about you opening up your data - with other spatial data and having it line up. If you open up your shapefile in uDig it will work as well - but the projection would be something odd like "unknown". > > It is not related; in the code example there is a forceCRS call > after the new DataStore is created. Try that. > > > What is the "default" CRS? is there difference between European ( or > French) and USA's referencing system? or is this one the same for > everybody? There is no default; this is measurements we are talking about. The most commonly used one is "EPSG:4326" with is measured in degrees from the equator and the prime meridian (so basically england). > > Have a look at the DefaultEngineeringCRS class. > > Ok, I will try this today. > > BTW, I am under a GMT+1 clock and I am at work between 9am to 5pm, so > excuse my long response time. Ciao; if you talk on the geotools user list you will get a faster response; from people in your timezone. Jody
------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Geotools-gt2-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
