How to transform between different coordinate systems

5 messages Options
Embed this post
Permalink
Paulm

How to transform between different coordinate systems

Reply Threaded More More options
Print post
Permalink
Some javascript/style in this post has been disabled (why?)
Hi list!
I'm trying to setup a projected coordinate reference system:
The variables I have, read from the raster file header is:
 
Projection=Mercator
Geodetic Datum = NAD83
Standard parallel = 58.0
 
I don't know anything about the ellipsoid.
 
Is it possible to find the EPSG codes for the projection and datum and then create a projectedCRC from those, or how do I do this?
The variables could could be other datums, projections etc.
 
Kind regards,
Paul
 
 

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
mbedward

Re: How to transform between different coordinate systems

Reply Threaded More More options
Print post
Permalink
HI Paul,

If this is just a one-off search you can use the EPSG registry at:
http://www.epsg-registry.org/

E.g. for your query you could enter nad83 as the name, Projected CRS
as type, and the coords of a bounding box that include the parallel

You can also do searches within GeoTools.  This page in the users'
guide shows one approach:
http://docs.codehaus.org/display/GEOTDOC/01+CRS+Helper+Class#01CRSHelperClass-SearchingforaCoordinateReferenceSystem

That example uses the CRS helper class and is looking for a single
EPSG code with this statement:
String code = CRS.lookupIdentifier( example, true );

To get the set of call EPSG codes that match your known parameters I
think you would either need to query the local epsg database directly
(e.g. the HSQL database if you are using gt-epsg-hsql module with your
project) or get down and dirty in the referencing API, constructing
IdentifiedObject instances based on your known parameters and
submitting these to the referencing finder classes.  Unfortunately the
CRS helper class doesn't help with that at present. If you need to go
down this track, let us know.

Of course, if we're lucky, someone else here may be able to point to
other, easier approaches.

Michael

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
mbedward

Re: How to transform between different coordinate systems

Reply Threaded More More options
Print post
Permalink
> To get the set of call EPSG codes...

Sorry, I meant of course "all EPSG codes"

Michael

------------------------------------------------------------------------------
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing
server and web deployment.
http://p.sf.net/sfu/businessobjects
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Ajit

Choosing between GeoTools 254 Graph API and JUNG 2

Reply Threaded More More options
Print post
Permalink
In reply to this post by mbedward
Some javascript/style in this post has been disabled (why?)
Hi all,

I am working on an app that allows users to monitor/control flow in a network, with each node having a location, some other attributes, and logic that determines the next destination of the flow. Since this requires using Graphs, I was evaluating JUNG 2 open source API, but recently realized that GeoTools 2.5.4 also includes API to create/manipulate graphs. This app has a geo-spatial component definitely, so using GeoTools API through out makes sense. I'd still like to know if anybody here has experience using both JUNG and GeoTools graph APIs and if yes, how do these 2 compare with each other in terms of ease of use and algos for travsering a graph?

Thank a lot in advance.
Ajit



------------------------------------------------------------------------------

_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
Jody Garnett-2

Re: Choosing between GeoTools 254 Graph API and JUNG 2

Reply Threaded More More options
Print post
Permalink
The GeoTools graph API has been very stable (and has been with us for
many years). You will also find some graph code in JTS these days.

One idea that may or may not of occurred to you is to use both; the
GeoTools graph library is very flexible and you should be able to
write adaptors to hook up to JUNG.

We have a long series of grad students making use of the GeoTools
graph library; and a series of commercial route finding applications -
but so far there have been very little bug reports or anything. It is
probably one of the most stable modules in GeoTools.

Jody

On Sat, Jul 4, 2009 at 7:33 AM, Ajit Dharmik<[hidden email]> wrote:

> Hi all,
> I am working on an app that allows users to monitor/control flow in a
> network, with each node having a location, some other attributes, and logic
> that determines the next destination of the flow. Since this requires using
> Graphs, I was evaluating JUNG 2 open source API, but recently realized that
> GeoTools 2.5.4 also includes API to create/manipulate graphs. This app has a
> geo-spatial component definitely, so using GeoTools API through out makes
> sense. I'd still like to know if anybody here has experience using both JUNG
> and GeoTools graph APIs and if yes, how do these 2 compare with each other
> in terms of ease of use and algos for travsering a graph?
> Thank a lot in advance.
> Ajit
>
>
> ------------------------------------------------------------------------------
>
> _______________________________________________
> Geotools-gt2-users mailing list
> [hidden email]
> https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users
>
>

------------------------------------------------------------------------------
_______________________________________________
Geotools-gt2-users mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users