<div dir="ltr"><div>Hi Haddad/Rob;</div><div><br></div><div>I tried conversion of DWG to DXF and then ran command; but I am getting errors I have mentioned in the shared document(on Drive); I have shared the DXF file too.</div><div><br></div><div>From the python terminal; get Size too big issue And from command line get polygon errors.<br></div><div><br></div><div>Regds-</div><div>Vijay<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Fri, May 26, 2023 at 2:05 AM TC Haddad <<a href="mailto:tchaddad@gmail.com">tchaddad@gmail.com</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"><div dir="ltr"><div><br></div><div>Hi Vijay,</div><div><br></div><div>in his earlier email Rob said that before he ran the command, he used the website you provided to convert the file format from "
dwg to dxf " <br></div><div><br></div><div>I think if you can export from CAD to DXF, then you can skip using the website. But if you are starting from DWG, then first convert it to DXF before trying the OGR commands.</div><div><br></div><div>Tanya<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Thu, May 25, 2023 at 6:19 AM Vijay Kurhade <<a href="mailto:vijay.kurhade@gmail.com" target="_blank">vijay.kurhade@gmail.com</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"><div dir="ltr"><div>Hi Rob;</div><div><br></div><div>Sorry to bother you again.</div><div><br></div><div>Getting shapefile size as well as other DWG-DXF conversion issues.</div><div><br></div><div>please refer to Doc shared on Drive : <b>Doc for Rob : Gdal Steps.docx</b></div><div><b><a href="https://docs.google.com/document/d/16IUBzzaJZ0baCdtUsUCgTHBBE3-D-wy_/edit?usp=share_link&ouid=105159133680993726163&rtpof=true&sd=true" target="_blank">https://docs.google.com/document/d/16IUBzzaJZ0baCdtUsUCgTHBBE3-D-wy_/edit?usp=share_link&ouid=105159133680993726163&rtpof=true&sd=true</a></b></div><div><br></div><div></div><div>Also; <br></div><div>In case you think it is possible for you to share your working Output shapefile; which I can use till I get the size issue fixed at my end.</div><div><br></div><div>With Regards-</div><div>Vijay<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, May 13, 2023 at 12:24 AM Robert Hewlett <<a href="mailto:rob.hewy@gmail.com" target="_blank">rob.hewy@gmail.com</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"><div dir="ltr"><div>Hi,<br></div><div><br></div><div>Sorry for the late reply, Still marking and meetings on this side of the globe:</div><div><br></div><div>I used the site to go from dwg to dxf.</div><div><br></div><div>Then used ogr2ogr at the command line</div><div><br></div><div>ogr2ogr --version<br>GDAL 3.6.4, released 2023/04/17<br></div><div><br></div><div>ogr2ogr -a_srs "EPSG:4326" -f "ESRI Shapefile" ^<br>-gcp 12.8973 4.8524 73.7737714009421 18.546875366193724 ^<br>-gcp 8.75204 17.21844 73.76355401367982 18.57499038261755 ^<br>-gcp 23.7272 8.4155 73.79942967064645 18.55509638758041 ^<br>-gcp 14.3373 21.9502 73.7767221307843 18.58772458615475 ^<br>-skipfailures ^<br>shp_out geocoordinated_Pune_baner_Map.dxf<br></div><div><br></div><div>The gcps need work and I am not familiar with the area. Feels like some new bridges and roads.</div><div><br></div><div>I got closer</div><div><a href="https://i.imgur.com/PhaXlrE.png" target="_blank">https://i.imgur.com/PhaXlrE.png</a><br></div><div><br></div><div>-gcp 12.8973 4.8524 18.546875366193724 73.7737714009421 #Pashan HWY Sus Ln<br>-gpc 8.75204 17.21844 18.57499038261755 73.76355401367982 # Hwy 48 and Balewadi<br>-gpc 23.7272 8.4155 18.55509638758041 73.79942967064645 # Baner Prathamesh Park RD<br>-gpc 14.3373 21.9502 18.58772458615475 73.77672213078434 # Balewadi wakad bridge<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, May 10, 2023 at 11:54 PM Vijay Kurhade <<a href="mailto:vijay.kurhade@gmail.com" target="_blank">vijay.kurhade@gmail.com</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"><div dir="ltr"><div><font size="2">Hello</font></div><div><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US"><br></span></span></font></div><div><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">I am
sharing a shape file and AutoCAD (.dwg) file. I have geo-coordinated the CAD file
and then converted it into .shp file using following steps:</span></span></font></div><div><div style="margin-left:40px"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">1)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Selected ‘geographic location’
option in AutoCAD</span></span></font></div><p style="margin:0cm 0cm 0.0001pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">2)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Entered latitude (18.5652) and
longitude (73.7888) and elevation (606 meters)</span></span></font></p>

<p style="margin:0cm 0cm 0.0001pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">3)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Selected ‘GIS coordinate system’ as ‘WORLD-MERCATOR(WGS84)</span></span></font></p>

<p style="margin:0cm 0cm 0.0001pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">4)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Selected time zone as ‘GMT+5:30 Chennai,
Kolkata, Mumbai, New Delhi’</span></span></font></p>

<p style="margin:0cm 0cm 0.0001pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">5)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Drawing unit ‘Inches’</span></span></font></p>

<p style="margin:0cm 0cm 0.0001pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">6)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Selected geo-graphic location in the
AutoCAD drawing</span></span></font></p>

<p style="margin:0cm 0cm 0.0001pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">7)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Specified the north direction angle. Repeated the above steps to mark three more geographic locations in the CAD file</span></span></font></p>

<p style="margin:0cm 0cm 8pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">8)<span style="font-variant-numeric:normal;font-variant-east-asian:normal;font-variant-alternates:normal;font-kerning:auto;font-feature-settings:normal;font-stretch:normal;line-height:normal">      </span></span><span lang="EN-US">Saved the CAD file and converted it
into shape file using online tool ‘<a href="https://mygeodata.cloud/conversion" target="_blank">https://mygeodata.cloud/conversion</a>’</span></span></font></p><p style="margin:0cm 0cm 8pt 36pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US"><br></span></span></font></p><div>Link to files : <a href="https://drive.google.com/drive/folders/1xylPKQy0uJM3zbcqyxdvdSnxCaFh8lox?usp=share_link" target="_blank">https://drive.google.com/drive/folders/1xylPKQy0uJM3zbcqyxdvdSnxCaFh8lox?usp=share_link</a><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US"></span></span></font></div><p style="margin:0cm 0cm 8pt 6.24pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US"></span><span lang="EN-US"><br></span></span></font></p><p style="margin-top:0cm;margin-right:0cm;margin-bottom:8pt;line-height:107%"><font size="2"><span style="font-family:arial,sans-serif"><span lang="EN-US">I hope this helps you in analyzing the issue.<br></span></span></font></p></div><div><div><br></div><div>Thanks in Advance.</div><div><br></div><div>Regards-</div><div>Vijay<br></div><div><br></div></div>Hewlett <<a href="mailto:rob.hewy@gmail.com" target="_blank">rob.hewy@gmail.com</a>> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="gmail_quote"><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div dir="auto"><div>It sounds like the lat and longs are being plotted as Web Mercator meters. I could be wrong</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Is there a .PRJ file?</div><div dir="auto"><br></div><div dir="auto">How are you viewing the data:</div><div dir="auto">QGIS</div><div dir="auto">Open layers</div><div dir="auto">Leaflet</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br><div class="gmail_quote" dir="auto"><div dir="ltr" class="gmail_attr">On Tue, May 9, 2023, 04:55 Vijay Kurhade <<a href="mailto:vijay.kurhade@gmail.com" target="_blank">vijay.kurhade@gmail.com</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"><div dir="ltr"><div>Hi;</div><div><br></div><div>I have a long pending issue with Shapefile and using proper Geo-coordinates for it; <br></div><div>i
 need to place it in Pune, India with actual 4 Geo-Coordinates but 
everytime My shapefile gets placed into earth's center mostly Africa.</div><div><br></div><div>What
 is the solution; How can I ensure the shapefile uses those lat/long 4 
coordinates and is placed on Pune, India in Map rather than somewhere 
else?</div><div><br></div><div>Thanks in Advance.<br></div><div><br></div><div>Regards-</div><div>Vijay</div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" rel="noreferrer" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
</blockquote></div></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
</blockquote></div>
</blockquote></div>