Re: [OpenMap Users] Generating projection file with OpenMap

From: Don Dietrick <dietrick_at_bbn.com>
Date: Fri, 16 Oct 2009 12:10:14 -0400

Hi Nathan,

Tying the .prj file to the shape file is the easy part, you just name
it the same as the shape file.

The prj file is a well-known-text format (WKT) file. You can probably
just reuse this string in it for a WGS84 projection:

GEOGCS["GCS_WGS_1984",DATUM["D_WGS_1984",SPHEROID["WGS_1984",
6378137,298.257223563]],PRIMEM["Greenwich",0],UNIT["Degree",
0.0174532925199433]]

but if you wanted to generate one, there are WKT packages out there,
and the spheroid numbers are defined from the Ellipsoid class.

Hope this helps,

Don

On Oct 16, 2009, at 11:49 AM, Reese, Nathan wrote:

>
> I am using OpenMap 4.6.4 to generate ESRI shapefiles. The shapefile
> generated includes .shx, .shp, and .dbf files. The shapefile is
> valid and can be displayed in GoogleEarth, but, some client
> applications complain about unknown projection space. I would like
> to add .prj file into the mix with WGS84 projection to solve this
> problem. However, I am unable to find any examples for generating
> a .prf file and tying that file to the .shp file. Can you point me
> in the right direction?
>
> Nathan
>

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Fri Oct 16 2009 - 12:10:27 EDT

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT