<div dir="ltr"><div>Hi,</div>
<div>&nbsp;</div>
<div>I have a question about the&nbsp;usage of OGR2OGR in defining an ESRI Shapefile output name. I am exporting Spatial data from Oracle Spatial (11g) from a single table to an ESRI Shapefile and would like to get the following naming syntax for my Shapefile:</div>

<div>&nbsp;</div>
<div><br>[select distinct FIELD1 from SHEMA.TABLE][select distinct FIELD2 from SHEMA.TABLE][fixed value -&gt; 01]</div>
<div>&nbsp;</div>
<div>.. the output would look like </div>
<div>&nbsp;</div>
<div>50000002806200701.shp</div>
<div>50000002806200701.shx</div>
<div>50000002806200701.dbf<br>&nbsp;<br>The naming parts/chunks that are concatenated here are actually queries in the source database (Oracle).</div>
<div>&nbsp;</div>
<div>Any examples (sample scripts, procedures)&nbsp;or hints on&nbsp;how to implement this, would be very helpful.</div>
<div>&nbsp;</div>
<div>Thanks!</div>
<div>&nbsp;</div>
<div>Best regards,</div>
<div>Dejan</div></div>