SlideShare ist ein Scribd-Unternehmen logo
1 von 15
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>
“Example:Points


                  Need more help click here
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.org
             Or
     www.About.me/asok

Weitere ähnliche Inhalte

Ähnlich wie Draw lines from shapes

Map box styles in GeoServer and OpenLayers
Map box styles in GeoServer and OpenLayersMap box styles in GeoServer and OpenLayers
Map box styles in GeoServer and OpenLayers
Jody Garnett
 
Google Mapy (Jaroslav Bengl)
Google Mapy (Jaroslav Bengl)Google Mapy (Jaroslav Bengl)
Google Mapy (Jaroslav Bengl)
Jiří Šmída
 
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing BasicsNAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
pdituri
 

Ähnlich wie Draw lines from shapes (20)

Map box styles in GeoServer and OpenLayers
Map box styles in GeoServer and OpenLayersMap box styles in GeoServer and OpenLayers
Map box styles in GeoServer and OpenLayers
 
Km lconversionprograms
Km lconversionprogramsKm lconversionprograms
Km lconversionprograms
 
Web Mashup Slides For Lesson 2
Web Mashup Slides For Lesson 2Web Mashup Slides For Lesson 2
Web Mashup Slides For Lesson 2
 
Saving Money with Open Source GIS
Saving Money with Open Source GISSaving Money with Open Source GIS
Saving Money with Open Source GIS
 
Migrating fx3tofx4
Migrating fx3tofx4Migrating fx3tofx4
Migrating fx3tofx4
 
Using KML for Thematic Mapping
Using KML for Thematic MappingUsing KML for Thematic Mapping
Using KML for Thematic Mapping
 
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
2GKS, Open GL and IGES_Video Lect Given by Renjin.pptx
 
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
#PDR15 Creating Pebble Apps for Aplite, Basalt, and Chalk
 
Google Mapy (Jaroslav Bengl)
Google Mapy (Jaroslav Bengl)Google Mapy (Jaroslav Bengl)
Google Mapy (Jaroslav Bengl)
 
NE Temperate Network Google Earth Guidance
NE Temperate Network Google Earth GuidanceNE Temperate Network Google Earth Guidance
NE Temperate Network Google Earth Guidance
 
Internet-enabled GIS for Planners
Internet-enabled GIS for PlannersInternet-enabled GIS for Planners
Internet-enabled GIS for Planners
 
Dvm
DvmDvm
Dvm
 
Global mapperhelp
Global mapperhelpGlobal mapperhelp
Global mapperhelp
 
02 create first-map
02 create first-map02 create first-map
02 create first-map
 
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing BasicsNAPSG 2010 Fire/EMS Conference - Data Sharing Basics
NAPSG 2010 Fire/EMS Conference - Data Sharing Basics
 
Avoiding Pitfalls with Internationalization & Localization
Avoiding Pitfalls with Internationalization & LocalizationAvoiding Pitfalls with Internationalization & Localization
Avoiding Pitfalls with Internationalization & Localization
 
Mobile AR Lecture 5 - Location Based AR
Mobile AR Lecture 5 - Location Based ARMobile AR Lecture 5 - Location Based AR
Mobile AR Lecture 5 - Location Based AR
 
HTML5 & SVG in Cartography - Workshop
HTML5 & SVG in Cartography - WorkshopHTML5 & SVG in Cartography - Workshop
HTML5 & SVG in Cartography - Workshop
 
Flex 4 Overview
Flex 4 OverviewFlex 4 Overview
Flex 4 Overview
 
User Defined Characters Solution Proposal
User Defined Characters Solution ProposalUser Defined Characters Solution Proposal
User Defined Characters Solution Proposal
 

Mehr von Ashok Peddi

Project Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docxProject Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docx
Ashok Peddi
 
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docxLevel I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Ashok Peddi
 
Say no to make your yes stronger
Say no to make your yes strongerSay no to make your yes stronger
Say no to make your yes stronger
Ashok Peddi
 
Auto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libreAuto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libre
Ashok Peddi
 
Fundamentals of remote sensing
Fundamentals of remote sensingFundamentals of remote sensing
Fundamentals of remote sensing
Ashok Peddi
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
Ashok Peddi
 
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gisConcatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
Ashok Peddi
 
Erasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report finalErasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report final
Ashok Peddi
 
Free open source gis
Free open source gisFree open source gis
Free open source gis
Ashok Peddi
 
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gisConcatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
Ashok Peddi
 

Mehr von Ashok Peddi (20)

Project Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docxProject Monitoring and Problem Solving _Questionaire.docx
Project Monitoring and Problem Solving _Questionaire.docx
 
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docxLevel I Satellite image Classification-Thematic Map for multipurpouse usage.docx
Level I Satellite image Classification-Thematic Map for multipurpouse usage.docx
 
Moving life styles
Moving life stylesMoving life styles
Moving life styles
 
30 days challenge
30 days challenge30 days challenge
30 days challenge
 
Say no to make your yes stronger
Say no to make your yes strongerSay no to make your yes stronger
Say no to make your yes stronger
 
Auto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libreAuto cad adding_bing_maps_layer-libre
Auto cad adding_bing_maps_layer-libre
 
Awesome way to live
Awesome way to liveAwesome way to live
Awesome way to live
 
Fundamentals of remote sensing
Fundamentals of remote sensingFundamentals of remote sensing
Fundamentals of remote sensing
 
Image classification arc gis10
Image classification arc gis10Image classification arc gis10
Image classification arc gis10
 
Arc gis introduction-ppt
Arc gis introduction-pptArc gis introduction-ppt
Arc gis introduction-ppt
 
Gis arc map& georeferencing-arcgis
Gis arc map& georeferencing-arcgisGis arc map& georeferencing-arcgis
Gis arc map& georeferencing-arcgis
 
Digitization arc gis
Digitization arc gisDigitization arc gis
Digitization arc gis
 
Arc catalog introduction
Arc catalog introductionArc catalog introduction
Arc catalog introduction
 
Introduction to-arc map
Introduction to-arc mapIntroduction to-arc map
Introduction to-arc map
 
Five ways to lead a happy life
Five ways to lead a happy lifeFive ways to lead a happy life
Five ways to lead a happy life
 
Team and team!
Team and team!Team and team!
Team and team!
 
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gisConcatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
 
Erasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report finalErasmus mundus visiting scholar report final
Erasmus mundus visiting scholar report final
 
Free open source gis
Free open source gisFree open source gis
Free open source gis
 
Concatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gisConcatenate two different_attribute_fields_in_arc_gis
Concatenate two different_attribute_fields_in_arc_gis
 

Kürzlich hochgeladen

1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
QucHHunhnh
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
negromaestrong
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
MateoGardella
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
kauryashika82
 

Kürzlich hochgeladen (20)

Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"Mattingly "AI & Prompt Design: The Basics of Prompt Design"
Mattingly "AI & Prompt Design: The Basics of Prompt Design"
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
1029 - Danh muc Sach Giao Khoa 10 . pdf
1029 -  Danh muc Sach Giao Khoa 10 . pdf1029 -  Danh muc Sach Giao Khoa 10 . pdf
1029 - Danh muc Sach Giao Khoa 10 . pdf
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
Class 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdfClass 11th Physics NEET formula sheet pdf
Class 11th Physics NEET formula sheet pdf
 
This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.This PowerPoint helps students to consider the concept of infinity.
This PowerPoint helps students to consider the concept of infinity.
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
Seal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptxSeal of Good Local Governance (SGLG) 2024Final.pptx
Seal of Good Local Governance (SGLG) 2024Final.pptx
 
Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.Gardella_Mateo_IntellectualProperty.pdf.
Gardella_Mateo_IntellectualProperty.pdf.
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Web & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdfWeb & Social Media Analytics Previous Year Question Paper.pdf
Web & Social Media Analytics Previous Year Question Paper.pdf
 
Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17Advanced Views - Calendar View in Odoo 17
Advanced Views - Calendar View in Odoo 17
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
PROCESS RECORDING FORMAT.docx
PROCESS      RECORDING        FORMAT.docxPROCESS      RECORDING        FORMAT.docx
PROCESS RECORDING FORMAT.docx
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in DelhiRussian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
Russian Escort Service in Delhi 11k Hotel Foreigner Russian Call Girls in Delhi
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 

Draw lines from shapes

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