<div dir="ltr">Hi Tobias,<div><br></div><div>Thank you for suggesting this. I used the config option and my geospatial content was intact. Here's the command:</div><div><span style="font-family:monospace,monospace;text-indent:0in;color:black">ogrinfo</span><span style="font-family:monospace,monospace;text-indent:0in;color:black"> </span><span style="font-family:monospace,monospace;text-indent:0in;color:black">ELU_PD_08_03.pdf</span><span style="font-family:monospace,monospace;text-indent:0in;color:black"> </span><span style="font-family:monospace,monospace;text-indent:0in;color:black">-</span><span style="font-family:monospace,monospace;text-indent:0in;color:black">-</span><span style="font-family:monospace,monospace;text-indent:0in;color:black">config
OGR_PDF_READ_NON_STRUCTURED YES</span></div><div><p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;unicode-bidi:embed;word-break:normal"><font color="#000000" face="arial, helvetica, sans-serif">it lists all relevant layers. Copy the name of the layer (say "Layername") you want to write in shapefile and then: </font></p>

<p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;direction:ltr;unicode-bidi:embed;word-break:normal"></p>

<p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;direction:ltr;unicode-bidi:embed;word-break:normal"></p>

<p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;direction:ltr;unicode-bidi:embed;word-break:normal"><font face="monospace, monospace"><span style="color:black">ogr2ogr
–f “ESRI Shapefile” </span><span style="color:black">footprint.shp</span><span style="color:black">
ELU_PD_08_03.pdf Layername --config OGR_PDF_READ_NON_STRUCTURED
YES</span></font></p><p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;direction:ltr;unicode-bidi:embed;word-break:normal"><font face="monospace, monospace"><span style="color:black"><br></span></font></p><p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;unicode-bidi:embed;word-break:normal"><font color="#000000"><font face="arial, helvetica, sans-serif">I didn't know that <b>ogrinfo takes config options</b>. This is quite interesting because the document of ogrinfo doesn't mention this.</font></font></p><p style="line-height:90%;margin-top:10pt;margin-bottom:0pt;margin-left:0in;text-indent:0in;unicode-bidi:embed;word-break:normal"><font color="#000000"><font face="arial, helvetica, sans-serif">Thanks again!</font></font></p></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, Feb 7, 2019 at 1:20 AM Tobias Wendorff <<a href="mailto:tobias.wendorff@tu-dortmund.de">tobias.wendorff@tu-dortmund.de</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi there,<br>
<br>
Am Mi, 6.02.2019, 17:58 schrieb Rajesvari Parasa:<br>
> to try: ogr2ogr -f sqlite out.sqlite in.pdf<br>
> But since ogr doesn't recognize my PDF, I can't use this.<br>
<br>
I had to use "--config OGR_PDF_READ_NON_STRUCTURED YES" to make it<br>
read my PDFs, but I think, this will destroy your Geospatial content.<br>
<br>
I've just read it in non-structured and georeferenced it using<br>
ground control points:<br>
<br>
ogr2ogr -progress -a_srs EPSG:3857 -gcp ... output.geojson input.pdf<br>
--config OGR_PDF_READ_NON_STRUCTURED YES -NLT polygon<br>
<br>
Perhaps this helps :/<br>
<br>
Best regards,<br>
Tobias<br>
<br>
</blockquote></div>