Upload
ashok-peddi
View
386
Download
5
Tags:
Embed Size (px)
DESCRIPTION
Drwa shapes from GPS Points without ArcGIS
Citation preview
Draw lines/Shapes from Points
By Ashok Peddi
In ArcGIS License
If you have ArcGIS License , well and good !There is an option called “Points to
Polygon” or “Points to Line” in Data management Tools (I am not sure search it in ArcToobox)
If you don’t have ArcGIS License, Don’t worry you have sense .
If you know KML
If you know KML it is well and good you can write code!(Keyhole Markup language ,extension of XML developed by an Keyhole inc (Acquired by Google in 2001))
If you don’t know KML then follow these instructions
See next slide..
What is KML?
• I already mentioned that Keyhole markup Language which is an specific with XML is accepted by OGC standards.
• I have given an example write this code in Notepad and save it in KMZ format.
Code to convert Points(GPS Points) to Line!• <?xml version="1.0" encoding="UTF-8"?>• <kml xmlns="http://www.opengis.net/kml/2.2">• <Document><name>KML file with polygon for bird species range</name>• <description>Source various books and websites</description>• <Style id="rangecolour">• <LineStyle><color>660000FF</color><width>0.1</width></LineStyle>• <PolyStyle>• <color>660000FF</color>• </PolyStyle>• </Style>• <Style id="linecolour">• <LineStyle><color>660000FF</color><width>3</width></LineStyle>• </Style>• <Placemark><name>distribution/range</name>• <description></description>• <styleUrl>#linecolour</styleUrl>• <LineString>• <tessellate>1</tessellate><altitudeMode>clampToGround</altitudeMode>• <coordinates>
Here you need type/copy paste your Coordinates
• </coordinates>• </LineString>• </Placemark>• </Document>• </kml>
Need more help click here
“Example:Points
Click save as option in Note Pad
Save as KMZ file as shown below
Now your KML is ready
Open this KML in Google Earth or QGIS.In QGIS you can open KML directly with Open
command and save it as a Shape file(ESRI format).
See the next slide..
Click on Add a vector Layer In QGIS
Click on browse files
Select All files
Click on Open
Your KML in QGIS
Right Click on The layer fine in table of Contents to Save as Shape file
End of the Slide show
By!!@@!! The geoJuggernaut!!@@!!
www.geospatialtraining.orgOr
www.About.me/asok