NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hi, I need to know the projection of a osm data that I just export to shape file. Thanks Moy

asked 24 Apr '12, 22:18

moymj's gravatar image

moymj
11112
accept rate: 0%

edited 26 Apr '12, 12:06

Pieren's gravatar image

Pieren
9.8k2083157

2

How are you creating the shape file?

(24 Apr '12, 22:22) Frederik Ramm ♦
1

shape file by itself contains coordinates but does not say if they are projected or not. That's why Frederik is asking you how you generate your shape file. Usually, a .prj file contains the projection information.

(25 Apr '12, 15:20) Pieren

Hi Frederik / Pieren, I'm creating the shape file using OSM2SHP.exe, but when I create the shape file doesn't creat the .prj file, just create .dbf , .shp and .shx.

Thanks for your kindness

Moy

(25 Apr '12, 16:18) moymj

There are three different programs that all are called osm2shp. Most probably none of theese do any reprojection and uses the same projection as the original .osm file.

Osm uses WGS84 projection for all .osm files, and that is probably the projection your shapefile is in. You can download a .prj file for WGS84 at spartialreference.org

permanent link

answered 25 Apr '12, 17:22

Gnonthgol's gravatar image

Gnonthgol ♦
13.8k16103198
accept rate: 16%

Thanks Gnonthgol, so I'm going to use wgs84.

Moy

(25 Apr '12, 17:48) moymj

Just one note about the semantic : WGS84 is not a "projection" but a Geodetic System. Coordinates are not "projected" on a plane but on the earth (ellipsoid).

(26 Apr '12, 12:10) Pieren

I have tried working with osm state files for us north america and open them in QGIS which converts the data to a shape file. The problem is it is either unprojected and/or lacks a regional conversion as well. I need to have the layer play well with other layers from Tiger Census US which is what my project is set to, however the osm conversion, when queried, says it is using that project datum,that is not the case, however. Is there a simple way to get into, say, EPSG 4326 -- WGS 84?

permanent link

answered 14 May '12, 22:49

lewis_pusey's gravatar image

lewis_pusey
1
accept rate: 0%

  • I am trying to get the planar projection, not the ellipsoid
permanent link

answered 14 May '12, 22:51

lewis_pusey's gravatar image

lewis_pusey
1
accept rate: 0%

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×20
×11

question asked: 24 Apr '12, 22:18

question was seen: 9,092 times

last updated: 14 May '12, 22:51

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum