registrounicodevivienda / osm2shp

Automatically exported from code.google.com/p/osm2shp
0 stars 0 forks source link

[request] Support of multipolygons #4

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
It would be nice to have support of multipolygons

Original issue reported on code.google.com by skywa...@gmail.com on 17 Aug 2008 at 4:12

GoogleCodeExporter commented 8 years ago
I am not sure how we can use multipolygons on shapefiles. Can you provide more
information on this?

Original comment by cipriant...@gmail.com on 26 Aug 2008 at 3:19

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
What is the difference between GPX2SHP provide by Ogr2Ogr 
and your osm2shp?

Thanks in advance for your response.
Best regards,
Arnaud 

Original comment by arnaude...@gmail.com on 15 Oct 2009 at 8:02

GoogleCodeExporter commented 8 years ago
this may be a stupid question but: 
what is the projection information for the shp file created?  I was really 
happy to
find this extension, and it seems to have worked in the sense that the files 
were
created, but now that I have the files, I can't use them because I don't know 
the
projection.  

Specifically, I'm trying to get openstreetmap data into R - for many other 
shapefiles
it is an easy process (as explained here:
http://geography.uoregon.edu/GeogR/examples/maps_examples01.htm) but I haven't 
been
able to do it with openstreetmap data yet.

Thanks, cheers!  

Original comment by bea...@gmail.com on 10 Jan 2010 at 12:41

GoogleCodeExporter commented 8 years ago
I have started a new issue "Write .prj file so GIS software will know the 
projection"
which answers beardk's question.

Original comment by mark.g...@gmail.com on 17 Feb 2010 at 10:57

GoogleCodeExporter commented 8 years ago
This utility should support multipolygons. There is a precedent for this. An 
entry in a shapefile can have more than one polygon associated with it. Usually 
the first polygon would be the outer edge of something large (for example a 
forest) then the rest would be holes in the first polygon (clearings).

Software that cannot cope with holes in polygons is safe to ignore the holes 
and use just the main area.

Original comment by t...@divelements.co.uk on 30 Sep 2010 at 8:13

GoogleCodeExporter commented 8 years ago
It's application do not work with my osm-file(11Mb)
I'm see the error:
An attempt was made to load a program with incorrect format
(Exeption from HRESULT:0x8007000B)

************** Exception Text **************
System.BadImageFormatException: An attempt was made to load a program with an 
incorrect format. (Exception from HRESULT: 0x8007000B)
   at MapTools.ShapeLib.SHPCreate(String szShapeFile, ShapeType shpType)
   at OSM2SHP.ConvertToSHP.SaveToShapefile(String SHPFile, Boolean points, Boolean lines, Boolean polygons)
   at OSM2SHP.frmMain.toolStripButton2_Click(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Why doesn't it  work?

Original comment by asmar...@gmail.com on 11 Feb 2011 at 12:53