Showing posts from February, 2015

AutoCAD import x,y,z csv data points

How to import a text file of CSV data with x,y, z  3D points. I though this might be hard but its really not.  The most work is in preparing the data. Create a clean CSV text file with only x,y,z values like this with NO headers: 521864.4,162152.5,447.17 521870.7,162152.7,447.12 521877.9,162153,447.11 521884.8,162153,447.16 521891.4,162153,447.13 the first column is the X coordinate, second column is the Y coordinate, and the third column is the Z coordinate, all separated by a comma  , it is important to note that I am using ACAD 2011 German (Deutsch).  This means your coordinates must be with a .  decimal separator NOT a comma, which is normally the case with German coordinates and numbers.    2. Open ACAD with an empty template    3. Click create POINT    4. Copy the text file contents with STRG-C     or CTRL-C on english keyboard    5. Then PASTE directly into the command line with STRG-V  or CTRL-V    6. Hit escape    7. Save your new DWG  wit

Django GeoDjango deploy on windows server 2012 R2 IIS 8

The battle is set me vs IIS on Windows Server 2012 R2!! Battle Description :  install django 1.7.4, geodjango on IIS 8.5 Lets start with a BIG thanks to cstoker as  this was the best starting point to my adventure.  Please watch this video first.  Then follow along to install the remaining magic steps to get geodjango working on your windows server with IIS. 1. Install OSGeo4W First you must INSTALL OSGeo4W   and install using custom methods to only select the "libs" gdal and co.  See GeoDjango install instructions here  2. Update environment variables Then all you need to update are the environment variables .  Like here Screenshots below ! 1.  WSGI_HANDLER                            django.core.wsgi.get_wsgi_application() 2. GDAL_DATA                                   C:\OSGeo4W64\share\gdal     PROJ_LIB