<div dir="ltr"><div>Hi,</div>
<div> </div>
<div>I have a question about the 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> </div>
<div><br>[select distinct FIELD1 from SHEMA.TABLE][select distinct FIELD2 from SHEMA.TABLE][fixed value -> 01]</div>
<div> </div>
<div>.. the output would look like </div>
<div> </div>
<div>50000002806200701.shp</div>
<div>50000002806200701.shx</div>
<div>50000002806200701.dbf<br> <br>The naming parts/chunks that are concatenated here are actually queries in the source database (Oracle).</div>
<div> </div>
<div>Any examples (sample scripts, procedures) or hints on how to implement this, would be very helpful.</div>
<div> </div>
<div>Thanks!</div>
<div> </div>
<div>Best regards,</div>
<div>Dejan</div></div>