[Gdal-dev] OGR Georeference
RMcCulley at county24.com
Wed Apr 19 13:01:13 EDT 2006
After a closer inspection of the files, it appears that there are two types. The first that I had seen earlier, the center of each file is 0,0 and I have no idea what the units are, something large. The x range across the entire file is -5.5 to 5.5, and that corresponds to a single township. My township file was created from the 2005 ATSCOR file available from Altalis, these are almost definately something older.
The second set of files are in some form of UTM projection. I have no info on them other than what was written on the CD: NAD83 - UTM - Metres. These are files of pipelines in Alberta, and I've heard that Alberta T & U had a custom projection that they used, but I don't know the specs on it at all.
I've tried setting them as 10TM, but that wasn't right.
From: Brent Fraser [mailto:bfraser at geoanalytic.com]
Sent: Wednesday, April 19, 2006 9:24 AM
To: Rob McCulley; Gdal (E-mail)
Subject: Re: [Gdal-dev] OGR Georeference
This could get tricky. Is it just a georeferencing (i.e offset) problem
or a map projection problem as well? Do you know the map projection of the
DGNs? And the units (meters, feet, etc)? You may need to apply a scale
to get the right units for your resulting shapefile, and possibly project
(or warp!) the DGN data into a world coordinate system.
And there could be some issues with the Township coordinates. The Alberta
government (and others) has issued different versions of the positions over
the years so the relative positions in the DGNs might not match your
Township shapefile very well.
Calgary, Alberta, Canada
----- Original Message -----
From: "Rob McCulley" <RMcCulley at county24.com>
To: "Gdal (E-mail)" <gdal-dev at lists.maptools.org>
Sent: Wednesday, April 19, 2006 9:08 AM
Subject: [Gdal-dev] OGR Georeference
> Hi All,
> I've got a bunch of .dgn files that are not georeferenced at all (i.e. the
center of each file is (0,0)). Each file corresponds exactly to one
township, and I've got a shapefile with all of the townships. In addition
to the survey information, each fi
> le contains four points which are the four corners of the township. The
file name of each .dgn file corresponds with the township represented.
> I've got a python script that opens the .dgn file, selects the appropriate
township from the shapefile depending on the .dgn title, opens a shapefile
to output to, and then I'm stumped. Is it possible to use ogr to
georeference this stuff? I've looked
> at using a ogr::CoordinateTransform, but I can't figure out what to put
as the source srs.
> I know Arcview can do what I'm looking for, but it is a tedious manual
process called Spatial Adjustment. I've got 342 .dgn files to work through,
so I'm looking to automate the process.
> Rob McCulley
> GIS Coordinator
> County of Vermilion River No. 24
> (780) 846-2244
> Gdal-dev mailing list
> Gdal-dev at lists.maptools.org
More information about the Gdal-dev