<html><head><base href="x-msg://982/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><div>Hi Sarah,</div><div><br></div>Be sure to quote "ESRI Shapefile" or it will use "shapefile" as the output filename. <div><br></div><div>Since Shapefile is default, you can remove the -f ... stuff altogether to simplify.</div><div><br></div><div>As far as I can tell that's your main problem there. I don't have a GDB install to test against though.</div><div><br></div><div>Tyler</div><div><br><div><div>On 2013-01-31, at 12:30 PM, Sarah Zatko wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-style-span" style="border-collapse: separate; font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple"><div class="WordSection1" style="page: WordSection1; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">I’m trying to use the –where command in ogr2ogr (1.9.0) to separate out different geometry types, as was described in the FAQ for converting gdb to shp files, but when I do the following command<o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Ogr2ogr.exe<span class="Apple-converted-space"> </span><span style="font-size: 10pt; font-family: Consolas; color: black; ">-f ESRI Shapefile points.shp input.gdb -a_srs EPSG:4326 -nln points -where 'ogr_geometry="POINT"'<o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; ">it thinks that the –where… part of the command is the name of a gdb layer. <o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; ">I tried moving the –where part of the command earlier, to before the –f argument, but then it just hangs and doesn’t complete at all. <o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; ">Any thoughts on what I’m doing wrong here? <o:p></o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><span style="font-size: 10pt; font-family: Consolas; color: black; "><o:p> </o:p></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; ">Also, when I try to go from shapefile to geodb in Windows, it only works if I’m running as administrator. Is that just a requirement? It doesn’t require root in Linux. <o:p></o:p></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; "><o:p> </o:p></div></div>_______________________________________________<br>gdal-dev mailing list<br><a href="mailto:gdal-dev@lists.osgeo.org" style="color: blue; text-decoration: underline; ">gdal-dev@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/gdal-dev" style="color: blue; text-decoration: underline; ">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></div></span></blockquote></div><br><div>
<span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><span class="Apple-style-span" style="border-collapse: separate; color: rgb(0, 0, 0); font-family: Helvetica; font-style: normal; font-variant: normal; font-weight: normal; letter-spacing: normal; line-height: normal; orphans: 2; text-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div><br class="Apple-interchange-newline"><br></div><div><div style="text-align: left; "><table class="MsoNormalTable" border="0" cellspacing="0" cellpadding="0" width="100%" style="width: 1036px; position: static; z-index: auto; "><tbody><tr><td valign="top" style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt; "><b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: black; ">Tyler Mitchell</span></b><b><span style="font-size: 10pt; font-family: Arial, sans-serif; color: black; "><o:p></o:p></span></b></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; line-height: 12pt; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); ">Engineering Director <br>Actian Corporation</span><br></div></td></tr><tr style="height: 9pt; "><td valign="top" style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; height: 9pt; "><font class="Apple-style-span" color="#0000ff" face="Arial, sans-serif"><span class="Apple-style-span" style="font-size: 13px; line-height: 16px; "><u><a href="mailto:tyler.mitchell@actian.com">tyler.mitchell@actian.com</a><br></u></span></font><br></td></tr><tr><td valign="top" style="padding-top: 0in; padding-right: 0in; padding-bottom: 0in; padding-left: 0in; "><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; line-height: 12pt; "><span class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 15px; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(0, 150, 186); ">MOBILE </span></span><span class="Apple-style-span" style="font-family: Calibri, sans-serif; font-size: 15px; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); ">250-303-1831</span></span></div><div style="margin-top: 0in; margin-right: 0in; margin-left: 0in; margin-bottom: 0.0001pt; font-size: 11pt; font-family: Calibri, sans-serif; line-height: 12pt; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(0, 150, 186); ">SKYPE</span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(102, 102, 102); "> spatialguru</span><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); "><br></span><a href="http://www.actian.com/" target="_blank" style="color: blue; text-decoration: underline; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(227, 102, 36); ">www.actian.com<br></span></a></div></td></tr></tbody></table></div></div></span></span></div></span></div></span></span>
</div>
<br></div></body></html>