RE: [gdal-dev] Confused about datum transformations

2011-10-19 Thread dev4cx4m9z
11 10:32 PM To: marc.hill...@tpg.com.au; dev4cx4...@snkmail.com Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Confused about datum transformations Hi Marc, I suppose that when you say: WGS84 datum, you mean geographical coordinates based on the WGS84-datum (i.e. lat,lon)? Which other d

Re: [gdal-dev] Confused about datum transformations

2011-10-19 Thread Simon Lyngby Kokkendorff
lto: > r0dk224...@sneakemail.com] > *Sent:* Wednesday, October 19, 2011 8:55 PM > > *To:* marc.hill...@tpg.com.au; dev4cx4...@snkmail.com > *Cc:* gdal-dev@lists.osgeo.org > *Subject:* Re: [gdal-dev] Confused about datum transformations > > ** ** > > Hi Marc, > >

RE: [gdal-dev] Confused about datum transformations

2011-10-19 Thread dev4cx4m9z
8:55 PM To: marc.hill...@tpg.com.au; dev4cx4...@snkmail.com Cc: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Confused about datum transformations Hi Marc, Just to understand your problem fully: You have data in your database in WGS84, in geographical coordinates,

RE: [gdal-dev] Confused about datum transformations

2011-10-19 Thread dev4cx4m9z
THORITY["EPSG","6326"]],PRIMEM["Greenwich",0,AUTHORITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9108"]],AUTHORITY["EPSG","4326"]],PROJECTION["Transverse_Mercator"]

Re: [gdal-dev] Confused about datum transformations

2011-10-19 Thread Simon Lyngby Kokkendorff
GDALError = .ImportFromEPSG(i) > Debug.Assert(GDALError = OGRError.OGRERR_NONE, > GetLastErrorMsg()) >End With > > Produces > GEOGCS["GDA94",DATUM["Geocentric_Datum_of_Australia_1994",SPHEROID["GRS > 1980",6378137,298.25722210

RE: [gdal-dev] Confused about datum transformations

2011-10-19 Thread dev4cx4m9z
RITY["EPSG","8901"]],UNIT["degree",0.0174532925199433,AUTHORITY["EPSG","9122"]],AUTHORITY["EPSG","4283"]] The error when I attempt to create the transformation is always with the SRS that seems to be a projection definition

RE: [gdal-dev] Confused about datum transformations

2011-10-19 Thread dev4cx4m9z
-dev@lists.osgeo.org Subject: Re: [gdal-dev] Confused about datum transformations Marc, You don't need to rebuild proj.4; you are already using it.. Since you were able to use ogr2ogr to do the transformation, it works. What you need to do is find out if the arguments you are passing t

Re: [gdal-dev] Confused about datum transformations

2011-10-19 Thread Chaitanya kumar CH
that the datum numbers I use are in the gcs.csv file. > > ** ** > > *From:* gdal-dev-boun...@lists.osgeo.org [mailto: > gdal-dev-boun...@lists.osgeo.org] *On Behalf Of *dev4cx4...@snkmail.com > *Sent:* Tuesday, October 18, 2011 4:12 AM > *To:* gdal-dev@lists.osgeo.org > *

RE: [gdal-dev] Confused about datum transformations

2011-10-19 Thread dev4cx4m9z
@lists.osgeo.org Subject: RE: [gdal-dev] Confused about datum transformations I’m not sure the code will help too much, but here are the relevant code fragments. I’m using a hand crafted VB.net wrapper which explains some of the syntax Private WGS84SRS As New OGRSpatialReference ' Coord

RE: [gdal-dev] Confused about datum transformations

2011-10-18 Thread Kyle Shannon
-dev@lists.osgeo.org Subject: RE: [gdal-dev] Confused about datum transformations I’m not sure the code will help too much, but here are the relevant code fragments. I’m using a hand crafted VB.net wrapper which explains some of the syntax Private WGS84SRS As New OGRSpatialReference

Re: [gdal-dev] Confused about datum transformations

2011-10-18 Thread Chaitanya kumar CH
Marc, Looks like there might be a problem with the targetSRS. Please check if it is ok. Try the exportToWkt method on it. Also, make sure the file pcs.csv in gdal's data directory contains the entry for 3577. On Tue, Oct 18, 2011 at 3:41 PM, wrote: > I’m not sure the code will help too much, bu

RE: [gdal-dev] Confused about datum transformations

2011-10-18 Thread dev4cx4m9z
I’m not sure the code will help too much, but here are the relevant code fragments. I’m using a hand crafted VB.net wrapper which explains some of the syntax Private WGS84SRS As New OGRSpatialReference ' Coordinate system in WGS84 Private MapSRS As OGRSpatialReference ' Coordinate

Re: [gdal-dev] Confused about datum transformations

2011-10-18 Thread Chaitanya kumar CH
Marc, Can you provide the code leading to the error? On Tue, Oct 18, 2011 at 1:21 PM, Marc Hillman wrote: > I have a GIS database, and all data is stored in WGS84 datum. I have > developed an application using GDAL, and I now need to translate my WGS84 > coordinates to several different datums,

[gdal-dev] Confused about datum transformations

2011-10-18 Thread Marc Hillman
I have a GIS database, and all data is stored in WGS84 datum. I have developed an application using GDAL, and I now need to translate my WGS84 coordinates to several different datums, depending what map is loaded. I seem to be going around in circles, and need a nudge in the right direction. I am d