Draw lines from shapes

584 views
459 views

Published on

Drwa shapes from GPS Points without ArcGIS

Published in: Education
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
584
On SlideShare
0
From Embeds
0
Number of Embeds
0
Actions
Shares
0
Downloads
3
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

Draw lines from shapes

  1. 1. Draw lines/Shapes from Points By Ashok Peddi
  2. 2. 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 .
  3. 3. 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..
  4. 4. 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.
  5. 5. 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>
  6. 6. “Example:Points Need more help click here
  7. 7. Click save as option in Note Pad
  8. 8. Save as KMZ file as shown below
  9. 9. 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..
  10. 10. Click on Add a vector Layer In QGIS
  11. 11. Click on browse files Select All files
  12. 12. Click on Open
  13. 13. Your KML in QGIS
  14. 14. Right Click on The layer fine in table of Contents to Save as Shape file
  15. 15. End of the Slide show By!!@@!! The geoJuggernaut!!@@!! www.geospatialtraining.org Or www.About.me/asok

×