<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help creating Local Coordinate projection for CAD data in Data Management Questions</title>
    <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80269#M4672</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you use the Georeferencing ToolBar?&amp;nbsp; I am not certain if it requires a specific extension.&lt;BR /&gt;&lt;BR /&gt;Add your CAD data to your drawing.&lt;BR /&gt;&lt;BR /&gt;Zoom to the area where you KNOW your cad data should be.&lt;BR /&gt;&lt;BR /&gt;From the Geoprocessing toolbar select the cad feature type you want to georeference and select fit to display. &lt;BR /&gt;&lt;BR /&gt;then using knows referenced points from the CAD and the GIS use the Add Control Points on the toolbar to select a known CAD location first then the known place it should be.&lt;BR /&gt;&lt;BR /&gt;The select a different CAD location (preferably some distance away) then the the the place it should be.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought about doing this, but this has to be something that I can script, and I don't think I can script this. I had thought about creating a world file for one CAD dataset and then just using python to copy and paste it with different names (kind of a seed file) but hadn't tried it yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 14 Nov 2013 15:35:26 GMT</pubDate>
    <dc:creator>DerrickPlotsky</dc:creator>
    <dc:date>2013-11-14T15:35:26Z</dc:date>
    <item>
      <title>Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80262#M4665</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Hello,&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I have some CAD data in an unknown local coordinate system that I have to get into a geodatabase in a State Plane coordinate system.&amp;nbsp; I have a CAD script that is currently being run to get do this from within AutoCAD, but I need to do this with Python instead now. I have some examples of the data in the State Plane coordinate system, but I am struggling as to how to find all of the parameters that I need to create the custom .prj file. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The script currently does:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1. Scale all -&amp;gt; 0,0 -&amp;gt; 1/12&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2. Move all -&amp;gt; 18766.832,11612.104 -&amp;gt; 2829031.998,1017487.369&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3. Rotate all -&amp;gt; 2829031.998,1017487.369 -&amp;gt; -30.0916403&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;4. Scale all -&amp;gt; 0,0 -&amp;gt; 0.9999129&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I am unsure as to the best way to get the Easting, Northing, and Latitude and Longitude of Center. I think that the rotation and two scalings can be done by setting the rotation, units and scale factor. It is the rest that I am struggling to find.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 16:44:02 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80262#M4665</guid>
      <dc:creator>DerrickPlotsky</dc:creator>
      <dc:date>2013-10-16T16:44:02Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80263#M4666</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;I have done this numerous times.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Start with something from your GIS that is in the proper projection.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Sections work good because then you can easily adjust the CAD drawing to proper world location. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Export the sections to a shape file.&amp;nbsp; Import them into CAD preserving the data and the projection.&amp;nbsp; Make sure your Shapefile has the .prj extension&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;once imported lock the sections layer.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;add your autocad data as a block.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Move it to the sections that a locked.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If you can this would be a good place to resize it and place it where it should go in the real world.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;save the DWG.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;run build and clean several times to get rid of the crud.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;save the DWG.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Now you have choices.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;First add the DWG into your ArcGIS session.&amp;nbsp; If everything lines up they way it should (and it should) then you can proceed to strip the cad and export it to your database.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Or you can export the DWG as a shapefile.&amp;nbsp; Save it to the original Sections shapefile you had imported.&amp;nbsp; This way it will give it the same projection as the shape file had as CAD will not export a .prj file without a predefined projection in cad.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;FYI, I have spent many hours converting AutoCAD drawings to ArcGIS and most of the DWGs either had no projection or were simply very wrong.&amp;nbsp; &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;One system I converted was actually in the proper projection but whoever built it used millimeters or something to represent feet.&amp;nbsp; End result the system which spaned 30 x 50 miles was the size of third base when brought direct into ArcGIS&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Hello,&lt;BR /&gt;&lt;BR /&gt;I have some CAD data in an unknown local coordinate system that I have to get into a geodatabase in a State Plane coordinate system.&amp;nbsp; I have a CAD script that is currently being run to get do this from within AutoCAD, but I need to do this with Python instead now. I have some examples of the data in the State Plane coordinate system, but I am struggling as to how to find all of the parameters that I need to create the custom .prj file. &lt;BR /&gt;&lt;BR /&gt;The script currently does:&lt;BR /&gt;1. Scale all -&amp;gt; 0,0 -&amp;gt; 1/12&lt;BR /&gt;2. Move all -&amp;gt; 18766.832,11612.104 -&amp;gt; 2829031.998,1017487.369&lt;BR /&gt;3. Rotate all -&amp;gt; 2829031.998,1017487.369 -&amp;gt; -30.0916403&lt;BR /&gt;4. Scale all -&amp;gt; 0,0 -&amp;gt; 0.9999129&lt;BR /&gt;&lt;BR /&gt;I am unsure as to the best way to get the Easting, Northing, and Latitude and Longitude of Center. I think that the rotation and two scalings can be done by setting the rotation, units and scale factor. It is the rest that I am struggling to find.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 17:00:30 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80263#M4666</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-10-16T17:00:30Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80264#M4667</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Unfortunately I do not have CAD myself, so I am not able to do anything on the CAD side. I am provided with the DWGs that I have to get into State Plane from their local coordinate system. The script must go through the CAD data, export it, project it, and put it into an enterprise geodatabase. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;But thank you for the suggestion.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;I have done this numerous times.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Start with something from your GIS that is in the proper projection.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Sections work good because then you can easily adjust the CAD drawing to proper world location. &lt;BR /&gt;&lt;BR /&gt;Export the sections to a shape file.&amp;nbsp; Import them into CAD preserving the data and the projection.&amp;nbsp; Make sure your Shapefile has the .prj extension&lt;BR /&gt;&lt;BR /&gt;once imported lock the sections layer.&lt;BR /&gt;&lt;BR /&gt;add your autocad data as a block.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;Move it to the sections that a locked.&lt;BR /&gt;&lt;BR /&gt;If you can this would be a good place to resize it and place it where it should go in the real world.&lt;BR /&gt;&lt;BR /&gt;save the DWG.&lt;BR /&gt;&lt;BR /&gt;run build and clean several times to get rid of the crud.&lt;BR /&gt;&lt;BR /&gt;save the DWG.&lt;BR /&gt;&lt;BR /&gt;Now you have choices.&lt;BR /&gt;&lt;BR /&gt;First add the DWG into your ArcGIS session.&amp;nbsp; If everything lines up they way it should (and it should) then you can proceed to strip the cad and export it to your database.&lt;BR /&gt;&lt;BR /&gt;Or you can export the DWG as a shapefile.&amp;nbsp; Save it to the original Sections shapefile you had imported.&amp;nbsp; This way it will give it the same projection as the shape file had as CAD will not export a .prj file without a predefined projection in cad.&lt;BR /&gt;&lt;BR /&gt;FYI, I have spent many hours converting AutoCAD drawings to ArcGIS and most of the DWGs either had no projection or were simply very wrong.&amp;nbsp; &lt;BR /&gt;&lt;BR /&gt;One system I converted was actually in the proper projection but whoever built it used millimeters or something to represent feet.&amp;nbsp; End result the system which spaned 30 x 50 miles was the size of third base when brought direct into ArcGIS&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 17:45:14 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80264#M4667</guid>
      <dc:creator>DerrickPlotsky</dc:creator>
      <dc:date>2013-10-16T17:45:14Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80265#M4668</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;When you open the AutoCAD drawing in ArcGIS does it come up in the proper geographic location?&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I would suggest loading something first from the area then adding the DWG.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;If it does then simply export the CAD features to a database.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 18:49:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80265#M4668</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-10-16T18:49:49Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80266#M4669</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;It does not show up in the proper location. It shows up far away and is rotated differently. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;When you open the AutoCAD drawing in ArcGIS does it come up in the proper geographic location?&lt;BR /&gt;&lt;BR /&gt;I would suggest loading something first from the area then adding the DWG.&lt;BR /&gt;&lt;BR /&gt;If it does then simply export the CAD features to a database.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 16 Oct 2013 21:15:24 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80266#M4669</guid>
      <dc:creator>DerrickPlotsky</dc:creator>
      <dc:date>2013-10-16T21:15:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80267#M4670</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Can you use the Georeferencing ToolBar?&amp;nbsp; I am not certain if it requires a specific extension.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Add your CAD data to your drawing.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Zoom to the area where you KNOW your cad data should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;From the Geoprocessing toolbar select the cad feature type you want to georeference and select fit to display. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;then using knows referenced points from the CAD and the GIS use the Add Control Points on the toolbar to select a known CAD location first then the known place it should be.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The select a different CAD location (preferably some distance away) then the the the place it should be. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;It does not show up in the proper location. It shows up far away and is rotated differently.&lt;/BLOCKQUOTE&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 22 Oct 2013 15:15:04 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80267#M4670</guid>
      <dc:creator>RobertBorchert</dc:creator>
      <dc:date>2013-10-22T15:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80268#M4671</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;Do the mentioned procedures create a .prj for the local coordinate drawing or simply rectify said drawing to a known coordinate system (ie, unknown to state plane ****)? Based on the example listed, it seems that a planar transformation is created (based on a best fit) and not a projection (from a known geographic coordinate system to a local planar coordinate system).&amp;nbsp; If the process described does create a prj, it would be helpful to be able to save the settings and create a coordinate system for CAD imports from the same source.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Nov 2013 18:51:25 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80268#M4671</guid>
      <dc:creator>MatthewFallau</dc:creator>
      <dc:date>2013-11-12T18:51:25Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80269#M4672</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Can you use the Georeferencing ToolBar?&amp;nbsp; I am not certain if it requires a specific extension.&lt;BR /&gt;&lt;BR /&gt;Add your CAD data to your drawing.&lt;BR /&gt;&lt;BR /&gt;Zoom to the area where you KNOW your cad data should be.&lt;BR /&gt;&lt;BR /&gt;From the Geoprocessing toolbar select the cad feature type you want to georeference and select fit to display. &lt;BR /&gt;&lt;BR /&gt;then using knows referenced points from the CAD and the GIS use the Add Control Points on the toolbar to select a known CAD location first then the known place it should be.&lt;BR /&gt;&lt;BR /&gt;The select a different CAD location (preferably some distance away) then the the the place it should be.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;I thought about doing this, but this has to be something that I can script, and I don't think I can script this. I had thought about creating a world file for one CAD dataset and then just using python to copy and paste it with different names (kind of a seed file) but hadn't tried it yet.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 15:35:26 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80269#M4672</guid>
      <dc:creator>DerrickPlotsky</dc:creator>
      <dc:date>2013-11-14T15:35:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80270#M4673</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;BLOCKQUOTE class="jive-quote"&gt;Do the mentioned procedures create a .prj for the local coordinate drawing or simply rectify said drawing to a known coordinate system (ie, unknown to state plane ****)? Based on the example listed, it seems that a planar transformation is created (based on a best fit) and not a projection (from a known geographic coordinate system to a local planar coordinate system).&amp;nbsp; If the process described does create a prj, it would be helpful to be able to save the settings and create a coordinate system for CAD imports from the same source.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;The procedures just rectify it to a known coordinate system. I was hoping to create a .prj file that replicates the procedures in some way so that I can use it as an intermediary to get to the known coordinate system.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 14 Nov 2013 15:36:47 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80270#M4673</guid>
      <dc:creator>DerrickPlotsky</dc:creator>
      <dc:date>2013-11-14T15:36:47Z</dc:date>
    </item>
    <item>
      <title>Re: Help creating Local Coordinate projection for CAD data</title>
      <link>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80271#M4674</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;For anyone wondering, I was not able to get the projection file to work. It was not getting me close enough to what they currently have to be used. It might have worked eventually, but I did not have the time to fiddle with the numbers enough. &lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;What I ended up doing was creating a world file once, and then using the fact that all of the data was in the same location to programmatically create a world file for every passed in dwg. I just used one file as a seed, and then created files with the same name as the dwg I am currently looking at.&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 26 Nov 2013 17:45:32 GMT</pubDate>
      <guid>https://community.esri.com/t5/data-management-questions/help-creating-local-coordinate-projection-for-cad/m-p/80271#M4674</guid>
      <dc:creator>DerrickPlotsky</dc:creator>
      <dc:date>2013-11-26T17:45:32Z</dc:date>
    </item>
  </channel>
</rss>

