<br><br><div><span class="gmail_quote">On 2/6/07, <b class="gmail_sendername"><a href="mailto:postgis-users-request@postgis.refractions.net">postgis-users-request@postgis.refractions.net</a></b> <<a href="mailto:postgis-users-request@postgis.refractions.net">
postgis-users-request@postgis.refractions.net</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><br>Message: 8<br>Date: Mon, 5 Feb 2007 17:42:57 -0700
<br>From: "Randy George" <<a href="mailto:rkgeorge@cadmaps.com">rkgeorge@cadmaps.com</a>><br>Subject: RE: [postgis-users] Re: USGS NHD data to PostGIS<br>To: "'PostGIS Users Discussion'"<br>
        <<a href="mailto:postgis-users@postgis.refractions.net">postgis-users@postgis.refractions.net</a>><br>Message-ID: <<a href="mailto:20070206004258.B982162D448@mpls-qmqp-05.inet.qwest.net">20070206004258.B982162D448@mpls-qmqp-05.inet.qwest.net
</a>><br>Content-Type: text/plain;       charset="US-ASCII"<br><br>Hi,<br><br>        I've investigated my NHD data problem a little further. Looking at<br>the NHDArea table of the mdb it appears that the Shape field's internal
<br>'Shape Type' is listed as 19. Unless there has been a recent change, I don't<br>think the shp format has a type 19.<br><br>I ran a test conversion to svg forcing .shp type 19 to a type 5 (Polygon)<br>and I get valid polygon <paths>?
<br><br>Has ESRI added an additional "Shape Type" to the list? Or is there some<br>issue with NHD geodatabases?<br><br>If 19 is unknown to the ogr translator that would explain the empty geometry<br>columns and sporadic empty geometry fields. It would also explain why there
<br>is no error since those records would simply be created with no geometry.<br><br><a href="http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf">http://www.esri.com/library/whitepapers/pdfs/shapefile.pdf</a><br>Value Shape Type
<br>0 Null Shape<br>1 Point<br>3 PolyLine<br>5 Polygon<br>8 MultiPoint<br>11 PointZ<br>13 PolyLineZ<br>15 PolygonZ<br>18 MultiPointZ<br>21 PointM<br>23 PolyLineM<br>25 PolygonM<br>28 MultiPointM<br>31 MultiPatch<br><br><br>
Thanks<br>Randy<br><br></blockquote></div><br>19 is a polygon with M and Z values.<br><br>Regards,<br><br>Ragi Yaser Burhum<br>