<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by GISLayer Articles on Medium]]></title>
        <description><![CDATA[Stories by GISLayer Articles on Medium]]></description>
        <link>https://medium.com/@gislayer?source=rss-93bf56991c63------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*aU3Hx-JRQTi3Z7ad2khGWQ.png</url>
            <title>Stories by GISLayer Articles on Medium</title>
            <link>https://medium.com/@gislayer?source=rss-93bf56991c63------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 08:34:20 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@gislayer/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Add Google Map To ArcGIS JS 2D and 3D Web GIS]]></title>
            <link>https://gislayer.medium.com/add-google-map-to-arcgis-js-2d-and-3d-web-gis-255c6574b3e9?source=rss-93bf56991c63------2</link>
            <guid isPermaLink="false">https://medium.com/p/255c6574b3e9</guid>
            <category><![CDATA[google-maps]]></category>
            <category><![CDATA[arcgis-online]]></category>
            <category><![CDATA[tiles]]></category>
            <category><![CDATA[arcgis]]></category>
            <category><![CDATA[add-xyz-tiles]]></category>
            <dc:creator><![CDATA[GISLayer Articles]]></dc:creator>
            <pubDate>Sat, 12 Aug 2023 16:44:33 GMT</pubDate>
            <atom:updated>2023-08-12T16:47:05.212Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/676/1*Y91_q52cbR1XB7KJD2i41Q.png" /><figcaption>ArcGIS Javasscript Map — Google Satellite Map</figcaption></figure><p>A Google Map is served to users as XYZ tiles through 4 servers. In fact, what we have learned in this article applies not only to Google Maps but also if we have map tiles stored in our own tile server in the XYZ hierarchy format.</p><p>For this feature, it is essential to have the ArcGIS WebTileLayer and Basemap modules added. In the example below, I have explained how to achieve this without using any JavaScript framework.</p><p>A Google Map is served to users as XYZ tiles through 4 servers. In fact, what we have learned in this article applies not only to Google Maps but also if we have map tiles stored in our own tile server in the XYZ hierarchy format.</p><p>For this feature, it is essential to have the ArcGIS WebTileLayer and Basemap modules added. In the example below, I have explained how to achieve this without using any JavaScript framework.</p><p>GL object is not neccessary but i used for global variable</p><p>Google Satellite Map Tiles Structer :<br><a href="https://mts{s}.google.com/vt/lyrs=y&amp;x=%7Bx%7D&amp;y=%7By%7D&amp;z=%7Bz"><strong>https://mts{s}.google.com/vt/lyrs=y&amp;x={x}&amp;y={y}&amp;z={z</strong></a><strong>}</strong></p><p>Replaced URL that ArcGIS Want: <br><a href="https://mts{subdomain}.google.com/vt/lyrs=y&amp;x=%7Bcol%7D&amp;y=%7Brow%7D&amp;z=%7Blevel"><strong>https://mts{subDomain}.google.com/vt/lyrs=y&amp;x={col}&amp;y={row}&amp;z={level</strong></a><strong>}</strong></p><p>Method 1 : Pure JS</p><p>2D Map Code Sample</p><pre>&lt;link rel=&quot;stylesheet&quot; href=&quot;https://js.arcgis.com/4.21/esri/themes/light/main.css&quot; /&gt;<br>&lt;script src=&quot;https://js.arcgis.com/4.21/&quot;&gt;&lt;/script&gt;<br>&lt;div id=&quot;viewDiv&quot;&gt;&lt;/div&gt; </pre><pre>html,<br>      body,<br>      #viewDiv {<br>        padding: 0;<br>        margin: 0;<br>        height: 100%;<br>        width: 100%;<br>      }</pre><pre>var GL = {};<br><br>var modules = [<br>      &quot;esri/Map&quot;,<br>      &quot;esri/views/MapView&quot;,<br>      &quot;esri/layers/WebTileLayer&quot;,<br>      &quot;esri/Basemap&quot;<br>      ];<br><br>      require(modules, (Map, MapView, WebTileLayer, Basemap) =&gt; {<br>        debugger;<br>        GL.WebTileLayer = WebTileLayer;<br>        GL.Basemap = Basemap;<br>        GL.Map = Map;<br>        GL.MapView = MapView;<br><br>        GL.map = new Map({<br>          basemap: &quot;topo-vector&quot;<br>        });<br><br>        GL.view = new MapView({<br>          container: &quot;viewDiv&quot;,<br>          map: GL.map,<br>          zoom: 5,<br>          center: [-101.33789, 40.7639]<br>        });<br><br>        // important line started<br>        const mapBaseLayer = new GL.WebTileLayer({<br>          urlTemplate: &quot;https://mts{subDomain}.google.com/vt/lyrs=y&amp;x={col}&amp;y={row}&amp;z={level}&quot;,<br>          subDomains: [1,2,3,4],<br>          copyright:&#39;Google Map Tiles&#39;,<br>          title: &quot;New XYZ Tile Layer&quot;,<br>          id: &#39;google-satellite&#39;,<br>        });<br>        GL.map.add(mapBaseLayer);<br>        // important line finished<br><br>      });</pre><p>Sample View for 2D:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fgislayer%2Fembed%2Fpreview%2FyLQdraq%3Fdefault-tabs%3Djs%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DyLQdraq&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Fgislayer%2Fpen%2FyLQdraq&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FyLQdraq-512.jpg%3Fversion%3D1691858042&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/60899efffb597d3abd5c14e46844e4c7/href">https://medium.com/media/60899efffb597d3abd5c14e46844e4c7/href</a></iframe><p>Sample View for 3D:</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fcodepen.io%2Fgislayer%2Fembed%2Fpreview%2FgOQNyWm%3Fdefault-tabs%3Djs%252Cresult%26height%3D600%26host%3Dhttps%253A%252F%252Fcodepen.io%26slug-hash%3DgOQNyWm&amp;display_name=CodePen&amp;url=https%3A%2F%2Fcodepen.io%2Fgislayer%2Fpen%2FgOQNyWm&amp;image=https%3A%2F%2Fshots.codepen.io%2Fusername%2Fpen%2FgOQNyWm-512.jpg%3Fversion%3D1691858478&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=codepen" width="800" height="600" frameborder="0" scrolling="no"><a href="https://medium.com/media/7eb209ff13ed25fd65d1f12d77d92fb9/href">https://medium.com/media/7eb209ff13ed25fd65d1f12d77d92fb9/href</a></iframe><h3>Follow Me For More</h3><p>Linkedin : <a href="https://www.linkedin.com/in/alikilicharita/">https://www.linkedin.com/in/alikilicharita/</a><br>GitHub : <a href="https://github.com/gislayer/arcgis-javascript-sample-code">https://github.com/gislayer/arcgis-javascript-sample-code</a><br>GIS Tool : <a href="https://editor.gislayer.com/">https://editor.gislayer.com/</a><br>Blog : <a href="https://akilic.com/blog/">https://akilic.com/blog/</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=255c6574b3e9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[PlanGML Nedir? Harita Üzerinde Görüntüleme, Yayınlama ve Üretme]]></title>
            <link>https://gislayer.medium.com/plangml-nedir-harita-%C3%BCzerinde-g%C3%B6r%C3%BCnt%C3%BCleme-yay%C4%B1nlama-ve-%C3%BCretme-ae7733c4284f?source=rss-93bf56991c63------2</link>
            <guid isPermaLink="false">https://medium.com/p/ae7733c4284f</guid>
            <category><![CDATA[plangml-üretme]]></category>
            <category><![CDATA[plangml-imar-nazım-çdp]]></category>
            <category><![CDATA[plangml-yayınlama]]></category>
            <category><![CDATA[plangml-kontrolü]]></category>
            <category><![CDATA[plangml-görüntüleme]]></category>
            <dc:creator><![CDATA[GISLayer Articles]]></dc:creator>
            <pubDate>Sat, 17 Apr 2021 18:10:30 GMT</pubDate>
            <atom:updated>2021-04-17T18:38:25.370Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*Lf-Za4DNphEnF-wBtTh8pg.png" /></figure><p><strong>PlanGML</strong>, <strong>Türkiye Cumhuriyeti Çevre ve Şehircilik Bakanlığı’</strong>na bağlı<strong> Coğrafi Bilgi Sistemleri</strong> birimi tarafından tanımlanmış olan <strong>XML </strong>yapısında bir dosyadır. İçerisinde imar planlarında yer alan geometrik objeler ve bu objelere ait bilgiler yer almaktadır.</p><p>Örnek Bir XML Dosyasını Bu <a href="https://tucbs-public-api.csb.gov.tr/tucbs/PLAN%20GML/ORNEK_GML/Ornek_GML.rar">Linkten </a>İndirebilirsiniz</p><h3>PlanGML Verisinin Önemi Nedir?</h3><p>Bu <strong>XML </strong>verisi ile birlikte belediyeler ile bakanlık arasından imar planları için köprü kurulmuş olacak ve taraflar arasında veri alışverişi tek bir dil arasında olacaktır. Gönül ister ki bu yapı json verisi olsun ve <strong>Rest API </strong>gibi servis edebilelim ancak bakanlığımız böyle hoş görmüş. Aksi taktirde adı muhtemelen PlanJSON olacaktı.</p><p>Böylece belediyeler ve diğer devlet kurumları plan verileri için artık aynı dili konuşmaya başlamayacağı anlamına geliyor. Böylece, birbirleri arasında ve farklı kurumlara veri transferini bu dosya üzerinde yapabilecekler.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/759/1*dtHmxYsRvr2i6xi9aJVQzA.png" /><figcaption>Uygulama Imar Planı</figcaption></figure><h3>Hangi Plan Verileri İçin Kullanılabilir?</h3><p>Aslında tüm plan verileri için kullanılabilir. Zaten tüm plan verileri için üretildi ancak biz yine de bu soruyu cevaplayalım. Plan çeşitlerini tekrar belirtecek olursak.</p><ol><li>Uygulama Imar Planı</li><li>Nazım Imar Planı</li><li>Mekansal Strateji Planı</li><li>Çevre Düzeni Planı</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/887/1*tb7qD5oya6gsdobFi4jRoQ.png" /><figcaption>Veri Yapısını Gösteren Plan XSD dosyası</figcaption></figure><h3>Veri Standartı Nasıl Korunur?</h3><p>Her plan katmanının kendisine has öznitelik bilgileri bulunmaktadır. Yazılacak olan bir yazılım ile birlikte bu standartlar korunabilir elde edilmesi gereken veriler veri tipi bozulmayacak şekilde korunarak kullanıcının üretmesine sunabilir. Böylece veriler eksiksiz bir şekilde oluşturulur, veritabanına kayıt edilebilir ve başka bir kullanıcıya sevk edilebilir.</p><p>Bu standart kuralları görmek için <a href="https://tucbs-public-api.csb.gov.tr/tucbs/PLAN%20GML/">Linki </a>tıklayarak XSD dosyalarına ulaşabilirsiniz. Ama yazılımcı değilseniz hiç gerek yok, fazlasıyla karmaşık.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*CgCvrc2sdXUBIlUjOvhNXw.png" /><figcaption>GISLayer Yazılımı PlanGML Dosyasını Okuyabilmektedir</figcaption></figure><h3>Veriler Nasıl Görselleştirilir</h3><p>Biz bu konuda güzel bir çalışma yürüttük ve <strong>PlanGML </strong>verisini hem raster hem de vektör olarak web ekranlarında yayınladık. Hatta <strong>GISLayer </strong>ekibi ile hazırlanmış olan bir yazılım ile bir harita yayını bile yapabiliyoruz.</p><p>Zaten bu veriler akıllı veri olarak nitelendirildiği için <strong>CAD </strong>şirketleri tarafından üretilmiş olan tile oluşturma yazılımları yakın zamanda tarihin tozlu raflarına karışacaktır.</p><p>Zaten <strong>CAD </strong>teknolojisi ile <strong>CBS </strong>teknolojisini birlikte kullanmak ayrı bir intihar şekli. Taks, Kaks, Ön bahçe mesafesi, yan bahçe mesafesi derken semboller bile birer cad objesi olarak tutuluyor ve hiçbir şekilde esnek değil.</p><p>Plan gösterimlerinin ayrıntılı tanıtımı için <a href="https://mpgm.csb.gov.tr/plan-gosterimleri-i-4926">Linki </a>tıklayınız</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZTcnmBr7r117uiJEJgDkYw.png" /><figcaption>Çizilmiş Olan Ticari ve Askeri Alan</figcaption></figure><h3>Veriler Nasıl Üretili</h3><p>Biz zaten <strong>GISLayer </strong>olarak vektör veri üretebiliyorduk. Sadece birkaç kural ile birlikte zorunlu alanları tanımlamayarak veritabanına kayıt edebilecek hale getirdik. Hatta hiç bir veri olmadanda tanımlı katmanlar üzerinden yaptığınız çizimler ile birlikte plan çizimleri yapabilmektesiniz.</p><p>Mesela il boyutunda ki büyük bir veri için Tile Server aracılığı ile haritada gösteriyor ve bilindik yazılımlardan daha hızlı çalışacak şekilde harita sunucusu oluşturabiliyoruz.</p><p>Düşünsenize bir geometri değişir değişmez yayına açtığınız harita da anlık olarak değişiyor. Oldukça etkileyici!</p><p>Yukarıda ki resimde ise kendimizce ticari ve askeri bir plan adası çizdik.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*BCDDKxVMraywsiwmmu5vpQ.png" /><figcaption>Alınan PlanGML Çıktısı Örneği</figcaption></figure><h3>Veri Aktarma ve Dosya Olarak Çıktı Alma</h3><p>Plan verilerini çizdiniz, güncellediniz ve artık çıktı almak yada bir ortama göndermek istiyorsunuz. Aynı şekilde kuralara uyarak oluşturulan PlanGML verisi dosya olarak indirilebilir eğer bu kayıtlar veritabanında kayıtlı ise yeni çizimleri ve düzenlemeleri veri tabanına aktarabilirsiniz.</p><p><strong><em>Bu yazılımı kullanmak isteyen kurumlar ve şirketler bizlerle iletişim kurabilir</em></strong></p><p><strong>Mail : info@gislayer.com</strong></p><p>Web Site : <a href="http://www.gislayer.com/">www.gislayer.com</a></p><p>Editör : <a href="http://www.editor.gislayer.com/">www.editor.gislayer.com</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ae7733c4284f" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Download Google Maps Places and POI Data]]></title>
            <link>https://gislayer.medium.com/download-google-map-places-point-of-interest-poi-data-226e48fe1b55?source=rss-93bf56991c63------2</link>
            <guid isPermaLink="false">https://medium.com/p/226e48fe1b55</guid>
            <category><![CDATA[download-google-map-poi]]></category>
            <category><![CDATA[download-google-poi-data]]></category>
            <category><![CDATA[getting-google-poi-data]]></category>
            <category><![CDATA[poi-data-collector]]></category>
            <category><![CDATA[download-google-places]]></category>
            <dc:creator><![CDATA[GISLayer Articles]]></dc:creator>
            <pubDate>Thu, 21 Jan 2021 20:43:40 GMT</pubDate>
            <atom:updated>2021-01-21T22:22:17.659Z</atom:updated>
            <content:encoded><![CDATA[<h3>Download Google Map Places, Point of Interest POI Data</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*06k3jTtayeAh8CCL43wPiw.jpeg" /></figure><p><strong>Google </strong>has <strong>Places API </strong>services for developers but if you want to use this API you need to <strong>pay</strong> money for usage.</p><p>Service Payment is changing for place details that you want. Some users want to know the place’s <strong>phone number, photos, or other details</strong>. Detailed information will cause you to pay more. Every request sent to Google will be registered and this fee will be deducted from you at the <strong>end of the month</strong>.</p><p>We have <strong>developed a solution</strong> to this issue and presented it to users. You can <strong>get and download Google POI Data</strong>. <strong>Very easy and enjoyable</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UlYbhMnEzGPnysnvPK6Hig.png" /><figcaption>a sample study</figcaption></figure><p>But, there is a trick, When you sign up for the system you can use this service.</p><h3>You have to follow these steps in order</h3><ol><li>Click and Open <a href="https://editor.gislayer.com/"><strong>Web GIS Saas Editor</strong></a></li><li><strong>Sign Up</strong>, If you have a Gmail account it will be easy for you</li><li>Log in and click to <strong>Google </strong>Button in the <strong>Service </strong>tab</li><li>Create a <strong>layer </strong>for collect data</li><li>Select search circle <strong>radius</strong></li><li>Select POI <strong>categories</strong>. If you want to select more than one category, push the + button</li><li><strong>Activate </strong>your circle to be able to search</li><li><strong>Stop </strong>or <strong>close </strong>this panel once you have done</li><li>Google POI <strong>Categories </strong>are Below</li></ol><h3>Google Place Type Categories</h3><p>Accounting, airport, amusement park, aquarium, art gallery, atm, bakery, bank, bar, beauty salon, bicycle store, book store, bowling alley, bus station, cafe, campground, car dealer, car rental, car repair, car wash, casino, cemetery, church, city hall, clothing store, convenience store, courthouse, dentist, department store, doctor, drugstore, electrician, electronics store, embassy, fire station, florist, funeral home, furniture store, gas station, gym, hair care, hardware store, hindu temple, home goods store, hospital, insurance agency, jewelry store, laundry, lawyer, library, light rail station, liquor store, local government office, locksmith, lodging, meal delivery, meal takeaway, mosque, movie rental, movie theater, moving company, museum, night club, painter, park, parking, pet store, pharmacy, physiotherapist, plumber, police, post office, primary school, real estate agency, restaurant, roofing contractor, rv park, school, secondary school, shoe store, shopping mall, spa, stadium, storage, store, subway station, supermarket, synagogue, taxi stand, tourist attraction, train station, transit station, travel agency, university, veterinary care, zoo, administrative area level 1, administrative area level 2, administrative area level 3, administrative area level 4, administrative area level 5, archipelago, colloquial area, continent, country, establishment, finance, floor, food, general contractor, geocode, health, intersection, landmark, locality, natural feature, neighborhood, place of worship, plus code, point of interest, political, post box, postal code, postal code prefix, postal code suffix, postal town, premise, room, route, street address, street number, sublocality, sublocality level 1, sublocality level 2, sublocality level 3, sublocality level 4, sublocality level 5, subpremise, town squar</p><h3>Checking Data use by Data Table</h3><p>You can check by the data-table that your found data. Sometimes may you want to eliminate some unnecessary points. You can use this table for <strong>deleting, updating, and filtering</strong>.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*QcCtNpY1BBK83l2kb2eFEg.png" /><figcaption>Opening Data Table</figcaption></figure><h3>Downloading data</h3><p>GISlayer users can <strong>download </strong>vector data as a spatial file or <strong>excel </strong>list. Also, you can upload it to the <strong>GISLayer cloud system</strong> if you want to use it on every device or <strong>share </strong>it with your friends</p><p><strong>Download Options</strong></p><ol><li>Shape File <strong>SHP</strong></li><li><strong>GeoJSON </strong>File</li><li><strong>KML </strong>File</li><li><strong>WKT </strong>File</li><li><strong>GPX </strong>File</li><li><strong>NCN </strong>File</li><li><strong>Excel </strong>File</li><li><strong>Oracle </strong>SQL Query</li><li><strong>PostgreSQL </strong>SQL Query</li><li><strong>MySQL </strong>SQL Query</li></ol><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*gw0H5iMHpxT_mi3M6bOVKA.png" /></figure><p><em>Then we wish you </em><strong><em>success </em></strong><em>in collecting POI</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=226e48fe1b55" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using GeoJSON & indexedDB Together, GISCoding]]></title>
            <link>https://gislayer.medium.com/using-geojson-indexeddb-together-giscoding-7f1d53df9abe?source=rss-93bf56991c63------2</link>
            <guid isPermaLink="false">https://medium.com/p/7f1d53df9abe</guid>
            <category><![CDATA[spatial-web-browser-db]]></category>
            <category><![CDATA[geojson-and-indexeddb]]></category>
            <category><![CDATA[spatial-data-indexeddb]]></category>
            <category><![CDATA[indexeddb-usage-in-gis]]></category>
            <category><![CDATA[gis-and-indexeddb]]></category>
            <dc:creator><![CDATA[GISLayer Articles]]></dc:creator>
            <pubDate>Sat, 16 Jan 2021 20:04:14 GMT</pubDate>
            <atom:updated>2021-01-16T20:29:35.228Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/960/1*WIzqsP9t_ph7jqueNttXpg.png" /></figure><p>You will see the demo of the application we will create on the link I will share below. In our article, we will teach you how this work should be coded, and we will also share the final product with <strong>github </strong>codes.</p><p><strong>Demo</strong>: <a href="https://60016fc6bf33bd00076f1858--determined-curran-62b1f4.netlify.app/">GeoJSON and IndexedDB Usage</a></p><p><strong>Github Repository</strong>: <a href="https://github.com/gislayer/indexeddb-geojson">indexeddb-geojson</a></p><p><strong>Topics You Will Learn</strong></p><ol><li>Reading GeoJSON File</li><li>Adding GeoJSON to the Map with Openlayers</li><li>How to Make Vector Drawings with Openlayers</li><li>indexedDB Creation</li><li>Creating Tables in indexedDB</li><li>Adding, Deleting, Editing Saves to IndexedDB Tables</li></ol><p><em>If you’re ready, let’s begin!…</em></p><p><strong>GeoJSON</strong> is a <strong>JSON </strong>structure that contains geometry and attribute information. This file structure is readable and editable with a simple text editor. The reason why it is so popular today is that the JSON data structure can be used comfortably with javascript, it is similar to the use of objectively oriented software, and the developed <strong>APIs </strong>achieve faster success when using JSON instead of <strong>XML</strong>.</p><p><strong>IndexedDB</strong> is an <strong>HTML5 API</strong> that works as a database in web browsers. Although it is confusing for beginners to use, it has become an important feature in terms of GIS software in order to keep a save of the product of the transactions made in the web browser, as it offers a memory up to <strong>50MB</strong> to its users.</p><p>In the example we will do, we will learn how to add and delete a GeoJSON file on the map on a simple web page, draw different types of drawing and delete this drawing, and while doing these operations, we will learn to keep it in indexedDB. The example we will show is a simple way of use and you can make it more complex in your own work.</p><p>In the projects we have developed with the GISLayer team, we save the geometric drawing, editing, deletion and attached spatial files made by our users on their browsers in order to protect them. Now we wanted to share this part with you.</p><h3><strong>Step 1: Creating a Sample GeoJSON File</strong></h3><p>Let’s create the GeoJSON file we will use. If you have a file for this action, you can use it. If not, first create a new layer at <a href="https://editor.gislayer.com/"><strong>editor.gislayer.com</strong></a><strong> </strong>If you want to learn how to do it, you can quickly create your file by following the order below.</p><ol><li><a href="https://gislayer.com/docs/editor/1-create-a-new-vector-layer/">Creating a New Layer</a></li><li><a href="https://gislayer.com/docs/editor/11-vector-drawing-on-the-map/">Drawing</a></li><li>You can download it using <a href="https://gislayer.com/docs/editor/24-export-attribute-table/">Download GeoJSON</a> File or <a href="https://gislayer.com/docs/editor/3-using-layerbox/">Layer Box</a></li></ol><h3><strong>Step 2: Creating the index.html File</strong></h3><p>We need an <strong>HTML </strong>page to examine the code we will write. We will use the <strong>OpenLayers </strong>map library that we can manage in the fastest way to show the actions on the map. Alternatively, you can use <strong>Leafletjs</strong>, <strong>Mapbox </strong>or other map libraries. However, it is important to be able to work with GeoJSON. This example we have prepared has been developed for OpenLayers.</p><p>First, you have an empty folder to work on and create an index.html page in this folder. In the <strong>head </strong>tag of this file, we added the CSS and js source codes of OpenLayers directly from the source they provided on their site. We have defined styles for the buttons and their positions we will use. We have added a <strong>div </strong>element with map id information to publish the <strong>map </strong>in <strong>body </strong>tags, and we will add 6 buttons, which constitute the main purpose of this tutorial, and we will use it without any further changes in the index file.</p><ol><li><strong>Add GeoJSON</strong>: Adds GeoJSON file to the map</li><li><strong>Remove GeoJSON</strong>: Deletes the added GeoJSON file</li><li><strong>Polygon</strong>: Draws a polygon on the map</li><li><strong>Line</strong>: Draws new line on the map</li><li><strong>Point</strong>: Draws a new point on the map</li><li><strong>Clear All</strong>: Delete all the drawings.</li></ol><p>You can create the <strong>map.js</strong> and <strong>indexedDB.js</strong> files in your project folder to be defined at the bottom of the page and hold them for later use. In the following steps, we will learn and add.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cb0cc1b207599b2115db90295e1f9c10/href">https://medium.com/media/cb0cc1b207599b2115db90295e1f9c10/href</a></iframe><h3><strong>Step 3: Preparing map.js Map Functions</strong></h3><p>Let’s create the first version of the <strong>map.js</strong> file we created in the project folder. In this file, we will have map functions and we will complete by following a certain order. In this file, we will do the operations listed below. While following this order, you need to add the shared codes to your map.js file respectively.</p><ol><li>Adding the basemap</li><li>Adding vector layers we will use</li><li>Converting GeoJSON data to vector data</li><li>Converting vector data to GeoJSON</li><li>Adding vector data to a layer</li><li>Zoom in on a layer</li><li>Creating drawing functions</li><li>Reading a GeoJSON file</li><li>Deleting the read GeoJSON file</li><li>Deleting all geometries</li></ol><h3><strong>3.1 Adding the Basemap</strong></h3><p>The base map we will use is described as <strong>XYZ tile</strong>, and if you have an XYZ tile service of your own, you can publish it by changing the URL address here, you can define the zoom level and center latitude and longitude. If you add the codes below, you can check with your own status by following the screenshot.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/1b41d578fdc223b3036a2df876907340/href">https://medium.com/media/1b41d578fdc223b3036a2df876907340/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8mAhj3-8cWL-my2yKvYRyw.png" /></figure><h3><strong>3.2 Adding Vector Layers We Will Use</strong></h3><p>We will use two vector layers within the scope of the project, the first will be for the GeoJSON files added to the map, and the other will keep the drawings we will make on the map. You can determine the appearance of these layers according to the information in the <strong>style</strong>. After adding these codes, any screen view will not change, you will add two empty layers to your map.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5964a6efdb4df8b3fb64a62b976e0092/href">https://medium.com/media/5964a6efdb4df8b3fb64a62b976e0092/href</a></iframe><h3><strong>3.3 Converting GeoJSON Data to Vector Data</strong></h3><p>We cannot directly use the GeoJSON data we want to upload to our map from outside. Therefore, we must make it available for Openlayers, so we have to convert it to vector data. We will use the <strong>ol.format.GeoJSON</strong> method for this. Assuming that the future GeoJSON data will be in the <strong>EPSG: 4326</strong> projection system, we convert it to the<strong> EPSG: 3857</strong> projection system that OpenLayers accept in their default settings.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/415ecc99878f43d8625474122c6f951d/href">https://medium.com/media/415ecc99878f43d8625474122c6f951d/href</a></iframe><h3><strong>3.4 Converting Vector Data to GeoJSON</strong></h3><p>Everything is going very well. From this point on, we need to work in a way that indexedDB likes. Because we cannot assign vectors that we will obtain from Openlayers layers directly into indexedDB. We need to make them available to us. This is converting it into GeoJSON for us. For this, we need to use the <strong>ol.format.GeoJSON</strong> method again. This method can be called a format converter for us.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/146e32c706aff316714cd9efbea8f917/href">https://medium.com/media/146e32c706aff316714cd9efbea8f917/href</a></iframe><h3><strong>3.5 Adding Vector Data to a Layer</strong></h3><p>In the previous functions, we converted GeoJSON data to vector data. Now we need to prepare the function that will add them to the layer. While cleaning the inside of the vector layer to be added to the code below, it also adds the incoming data. So your layer always shows us the GeoJSON file we want cleanly.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/925b235d396ba9e597ee1d804cd8f722/href">https://medium.com/media/925b235d396ba9e597ee1d804cd8f722/href</a></iframe><h3><strong>3.6 </strong>Zoom in on a layer</h3><p>We may not be able to predict where the GeoJSON data we will add to the map is. Therefore, we have to zoom the <strong>BBOX </strong>area of the layer for each added layer. The code below is for this.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9aa787675ea0e96215863113751aaa79/href">https://medium.com/media/9aa787675ea0e96215863113751aaa79/href</a></iframe><h3><strong>3.7 Creating Drawing Functions</strong></h3><p>OpenLayers is a great library. It offers us the opportunity to develop a unique <strong>GIS </strong>project with its life-saving functions. If you remember, we put buttons to draw polygon, lines and points in the index.html file and the onclick event was directed to a method called <strong>draw</strong>. The parameter that this method takes was the type of geometry to be drawn. These buttons do their job with this function. At the end of the process, we need to click these buttons again to start a new drawing. The part included in the description line in the code will be activated later. For now, let it quietly wait until we write in indexedDB. Now we can draw on our map. You can remove the description line with the section <strong>4.6.</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/bd5ee8624152ff113ad618312a4de8bd/href">https://medium.com/media/bd5ee8624152ff113ad618312a4de8bd/href</a></iframe><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*2JezI_fcK4st5cm6iE3lyQ.png" /></figure><h3><strong>3.8 Reading a GeoJSON File</strong></h3><p>We added the <strong>Add GeoJSON</strong> button in the index.html file. The click event of that button depends on this function and when it runs, it creates a virtual DOM and opens a <strong>file dialog</strong> for users. When users select and confirm the GeoJSON file they want to upload to the map, we now have the information in the file.</p><p>After this point, we need to add this data first indexedDB for the scenario. However, for now, we present this section with the description line. You can remove these description lines after writing the method we need. You can remove the description line after learning sections <strong>4.5 </strong>and <strong>4.7</strong></p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/b81439a8a86ce335fcca02dfec1c3779/href">https://medium.com/media/b81439a8a86ce335fcca02dfec1c3779/href</a></iframe><h3><strong>3.9 Deleting the Read GeoJSON File</strong></h3><p>We had read a GeoJSON file before. The user may want to upload another GeoJSON file. In this case, since the relevant layer must be saved in indexedDB before, we need to delete it from there. The part that needs to be deleted from the map is developed in the map.js file, while the part that needs to be deleted in indexedDB will be explained in the next step.</p><p>Now we urgently need to empty the inside of the layer. Here, the name of the function that empties the layer is <strong>clearLayer</strong>. <strong>removeGeoJSON </strong>first deletes saves from indexedDB and then uses this function if the action is positive. You can remove the description line after you know the topic number 4.7</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cd3d711798f98279a7818cb9372b951d/href">https://medium.com/media/cd3d711798f98279a7818cb9372b951d/href</a></iframe><h3><strong>3.10 Clearing All Geometries</strong></h3><p>The only difference from the previous topic is that it also covers the drawn layer. So, for this project it means all the layers that exist in our map. Please look at the section in <strong>Step 4</strong> to learn the indexedDB <strong>updateLayer </strong>method without following the step order. With this step, we pass the <strong>3rd step</strong>. If you have come this far, you are also in love with <strong>GIS </strong>like us. After this step, you need to be a Javascript lover.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/02f3f3ee9f441dd0971806dd3e3438d2/href">https://medium.com/media/02f3f3ee9f441dd0971806dd3e3438d2/href</a></iframe><p><strong>Step 4: Preparing the Browser Database with the indexedDB.js File</strong></p><p>Now we can start developing our indexedDB file. We can say that IndexedDB is already an API that comes with HTML5, which already exists in your browser, but that most people are afraid to use. We are not afraid because we trust ourselves. Trust yourself, it’s not difficult at all.</p><p>You have seen the usage of the methods we will write in this step in the map.js file. Now, let’s follow the order below while starting to write the functions defined there.</p><ol><li>Creating a global indexedDB variable and creating the IDBGeoJSON class</li><li>Version Information Exchange</li><li>Creating a Queue Structure</li><li>Creating a Database</li><li>Adding a Layer</li><li>Layer Editing</li><li>Layer Deletion</li><li>Show Layers</li><li>Show Saved Layers in Page Refresh</li></ol><h3><strong>4.1 Defining in Global and Creating Class</strong></h3><p>First of all, we need to define our indexedDB in global to work in every browser. After this definition, we can call the variable from anywhere. Let’s create the constructor function of the object we will create, and after this step, let’s define each new function in the class code block and under the <strong>constructor </strong>function. You can open the section included in the description line for use after creating the section <strong>4.4</strong> in the following titles.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/5f07390e79c25c1346f3865a9dccde1b/href">https://medium.com/media/5f07390e79c25c1346f3865a9dccde1b/href</a></iframe><h3><strong>4.2 Version Information Exchange</strong></h3><p>You need to increase the version information one by one in every transaction that changes the database structure to IndexedDB. Because if there is a change in the database, the database will be upgraded to the next version and you should know the version number. Therefore, we save this information in <strong>localStorage</strong>. With <strong>setVersion</strong>, we use it when defining the new version information. We also get the current version information with <strong>getVersion</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/0968de9d608c010080d79d190452a578/href">https://medium.com/media/0968de9d608c010080d79d190452a578/href</a></iframe><h3><strong>4.3 Creating the Queue Structure</strong></h3><p>When running IndexedDB, we need to create the queue structure so that more than one <strong>transaction </strong>does not overlap with a similar version. In other words, if the database does not pass to the next version, you cannot make changes in the previous system. The inflexibility of the situation makes us sad, but we have to work with such a method instead of wasting time with the low quota of <strong>localStorage</strong>.</p><p>This queue structure to be created will also prevent switching from one process to another before it ends. Then let’s prepare the queue structure we need to do these operations.</p><p>In the following methods, “add” triggers the execution while adding a new job to the list, and the “<strong>next</strong>” method directs all jobs to the correct method until the job is finished. Now we can write the methods that should do the main work and write them in the <strong>case </strong>blocks in the switch.</p><p>The next method takes an object parameter and we define it to write the name of the actual method you will use in the type property information. We define the parameters we will use to the prop property information. If you are waiting for a return after the method is finished, we code it in a way that allows you to get a return in the form of <strong>true/false</strong> by making an optional <strong>callback </strong>property definition. The usage examples of this method were demonstrated while creating the <strong>map.js</strong> file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/cd3f9f67a99cd747fbc27b29dfd1f1eb/href">https://medium.com/media/cd3f9f67a99cd747fbc27b29dfd1f1eb/href</a></iframe><h3><strong>4.4 Creating a Database</strong></h3><p>We have defined the name of the database we will create in the <strong>constructor </strong>function of the class. Now we can create the database. Below, we wanted to create a ‘<strong>layers</strong>’ table in indexedDB that only save our layers. While the primary column of this table keeps the name information of the layer, the GeoJSON column is designed to save the GeoJSON information of the relevant layer. The callback function in the parameters of the functions is available to inform you of the result of the operation.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/38e15bae018a341d3eb6c3a5b017f767/href">https://medium.com/media/38e15bae018a341d3eb6c3a5b017f767/href</a></iframe><p>However, creating this method is not enough. First of all, while activating the description line created for <strong>createDb </strong>in the constructor function, you need to create a new <strong>case </strong>in the <strong>next </strong>method. The sample code should be as follows.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/2358f300e7afc4967e0fcc4297ff5301/href">https://medium.com/media/2358f300e7afc4967e0fcc4297ff5301/href</a></iframe><p>When you refresh the page you created, you can see the tables of indexedDB in the <strong>Application </strong>section of your browser.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/766/1*qkUO1HPIe7GCaeDBQX1PwQ.png" /></figure><h3><strong>4.5 Creating/Adding a Layer</strong></h3><p>Now there is a table named layers in the database and we need to add save to this table. In this section, we will learn how to add save to indexedDB. We are <strong>adding</strong> the registration information of our layer to the <strong>transaction</strong>, which we will define in this method, with the <strong>add method</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f5d8b3bde2399ab4b0d2541f31337460/href">https://medium.com/media/f5d8b3bde2399ab4b0d2541f31337460/href</a></iframe><p>After adding this method to the <strong>class</strong>, we can add the required code block to the <strong>case </strong>part of the <strong>next </strong>method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/16efd9c4e6e311a01a74de5f8d88eae5/href">https://medium.com/media/16efd9c4e6e311a01a74de5f8d88eae5/href</a></iframe><p>Now, as soon as our page opens, we can add our “<strong>layer2</strong>” layer, which should be created, to the layers table. Remember that <strong>layer2 </strong>is a layer that saves the drawings. The code block I mentioned below should be under the class we created. With this code, we add an empty <strong>layer2 </strong>save to our <strong>layers </strong>table in indexedDb.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/6ebfe3b677ae23e5c8c37bf65f938288/href">https://medium.com/media/6ebfe3b677ae23e5c8c37bf65f938288/href</a></iframe><p>If you refresh your page after typing this code, you can see the save below.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/823/1*0zeTZ5vdzaEOzNrXgpUMeA.png" /></figure><p>Also, if you use the <strong>Add GeoJSON</strong> button of your page, it will add and display the file you want to add as layer for once. If you use this feature again, this layer will not take action because it already exists. We will solve this problem as well.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yQIY_cqcbfIdFmQqu4lV9Q.png" /></figure><h3><strong>4.6 Layer/Save Editing</strong></h3><p>Now that we can add our layers to the system, it is necessary to update our non-fixed layer structure in indexedDB with every change. For this process, we create the <strong>updateLayer </strong>method and define the data we want to edit with put to the <strong>transaction</strong> in it. Since the <strong>Keypath </strong>value is the name of the layer, it will only work to change this save.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/990a9aae9f38f945fa51bd44fe64ed74/href">https://medium.com/media/990a9aae9f38f945fa51bd44fe64ed74/href</a></iframe><p>After this method is ready, we can now define the <strong>updateLayer </strong>in the <strong>case </strong>block of our <strong>next </strong>method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/96bcc84d82dfadf9eceb3f16171cfaaf/href">https://medium.com/media/96bcc84d82dfadf9eceb3f16171cfaaf/href</a></iframe><p>Now you can remove the description lines in the code block we mentioned in <strong>3.7</strong> and make drawings on the map. Each drawing will also update the <strong>layer2 </strong>save of the layers table.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*W2GQcnRCd1G_jqlqvcEydQ.png" /></figure><p>You can see that the drawings made below are registered.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/842/1*yDt04xjUd6ZU--saxqXJSw.png" /></figure><h3><strong>4.7 Layer/Save Deletion</strong></h3><p>Previously, we could only add the GeoJSON file we added to the map for one time. Now we can delete the existing save and add it again. If we wanted to choose easy way, we could do it with <strong>layerUpdate</strong>, but we developed a project in this way since this topic is about save deletion.</p><p>By using the <strong>delete </strong>method of the <strong>transaction </strong>that we define in the code block below, we delete the layer whose name we know from the saves.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/645bd06afb17d9913da9dfe119e99bd0/href">https://medium.com/media/645bd06afb17d9913da9dfe119e99bd0/href</a></iframe><p>After adding this method, you will be able to add as many GeoJSON files as you want to your map by adding the following <strong>case </strong>block to the <strong>next </strong>method.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/77aa3c7e9927a334417102bc90ea17ed/href">https://medium.com/media/77aa3c7e9927a334417102bc90ea17ed/href</a></iframe><p>Now you can add different GeoJSON files to your map.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*x9kBs7IiidfuXzgVALupIg.png" /></figure><h3><strong>4.8 Showing Layers/Reading Save</strong></h3><p>Now everything is cleaner and the codes we write find a response. Now we need to prove that we do not lose the saves that our users have uploaded even if they refresh the page.</p><p>With this method, when we refresh the page, previously saved layers will be automatically loaded on the map and you will be able to please the user. Because Web users don’t like their work to be lost and wasted.</p><p>The difference of the code block below from other methods is that the data is taken with the <strong>readonly </strong>method and it presents this data to us one by one using <strong>cursors</strong>. Thus, we are able to retrieve the records we obtained from here using <strong>callback</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/f7c6a40e49ec4e42f2ffb0f8aa1c2394/href">https://medium.com/media/f7c6a40e49ec4e42f2ffb0f8aa1c2394/href</a></iframe><p>After adding the above code block, we need to add the following code to the <strong>case </strong>blocks of the <strong>next </strong>method as a new <strong>case</strong>.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/c6a806e800f1185de5468ea8d456526f/href">https://medium.com/media/c6a806e800f1185de5468ea8d456526f/href</a></iframe><p>So, our code is almost ready.</p><h3><strong>4.9 Show Saved Layers on Page Refresh</strong></h3><p>Now we have come to the step where we can prove that it leads us to success. In this step, we need to show that even if the user refreshes his page, he does not lose the layers he creates and the geometric data he draws. We will complete it with the code below. This code should be added to the system outside of the <strong>class</strong>, in the last code block we showed in <strong>4.5</strong> In other words, just add it to the bottom of the indexedDB.js file.</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/82043eccb16a53925faaa6e0e9d09f6a/href">https://medium.com/media/82043eccb16a53925faaa6e0e9d09f6a/href</a></iframe><p>The clear button on the index.html page was explained in <strong>3.10</strong> If you have a forgotten code in the description line, please open it. If you believe something is wrong, please get help from <a href="https://github.com/gislayer/indexeddb-geojson">github </a>code.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*SvjsQ8LRmphRUxIikdf2Pw.png" /></figure><h3><strong>Step 5: Here We Are!</strong></h3><p>I hope I was able to do my best. Feel free to write below if you have any questions. If you follow me, I will continue to share decent articles in the times ahead.</p><p>If You Want to Get Consultancy Service: <a href="https://gislayer.com/contact"><strong>You Can Contact Us</strong></a></p><p>Recommended Pages to Follow</p><ol><li>Author &amp; Developer : <a href="https://www.linkedin.com/in/alikilicharita/"><strong>Click Here</strong></a></li><li>GISLayer Linkedin Page: <a href="https://www.linkedin.com/company/gislayer/"><strong>Click and Follow</strong></a></li><li>Our Website: <a href="https://gislayer.com/"><strong>Click and Use Our Products</strong></a></li><li>Our Github Page: <a href="https://github.com/gislayer"><strong>Click and Get Code Support</strong></a></li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7f1d53df9abe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Online Web Based KML / KMZ Viewers]]></title>
            <link>https://gislayer.medium.com/online-web-based-kml-kmz-viewers-1954c33a9a53?source=rss-93bf56991c63------2</link>
            <guid isPermaLink="false">https://medium.com/p/1954c33a9a53</guid>
            <category><![CDATA[kml-viewer]]></category>
            <category><![CDATA[how-to-read-kml-files]]></category>
            <category><![CDATA[online-kml-reader]]></category>
            <category><![CDATA[kmz-viewer]]></category>
            <category><![CDATA[how-to-read-kmz-files]]></category>
            <dc:creator><![CDATA[GISLayer Articles]]></dc:creator>
            <pubDate>Wed, 06 Jan 2021 05:25:32 GMT</pubDate>
            <atom:updated>2021-01-06T05:25:32.546Z</atom:updated>
            <content:encoded><![CDATA[<p>KML is an open-source markup language in XML structure created by Google. KMZ is the zipped version of the KML file. You can open and edit these files with Google Earth Pro. You can <a href="https://www.google.com/earth/versions/">download </a>and use it easily.</p><p>You can find many online KML viewers on the internet without Google Earth Pro. We listed and explained the important features of our followers.</p><h3>Online Free KML / KMZ Viewer List</h3><ol><li><a href="https://editor.gislayer.com/">GISLayer Software</a></li><li><a href="http://geojson.io/">GeoJSON IO</a></li><li><a href="https://www.gpsvisualizer.com/">GPS Visualizer</a></li><li><a href="https://www.doogal.co.uk/KmlViewer.php">Doogal</a></li><li><a href="https://www.mapleprecision.com/">Maple Precision</a></li><li><a href="http://ivanrublev.me/">Ivan Rublev’s Map</a></li><li><a href="https://products.aspose.app/gis/viewer/kml">Aspose</a></li></ol><h3>1. GISLayer WebGIS Software</h3><p>Page: <a href="https://editor.gislayer.com/">https://editor.gislayer.com</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ojM5-M4Kj_AbNs20tul1qg.png" /></figure><ol><li>Drag and Drop</li><li>Opening Multiple File</li><li>Getting Feature Information</li><li>Editing, Deleting, and Drawing Geometries</li><li>Editing Feature Informations</li><li>Sharing With</li><li>other users Saving KML to Cloud</li><li>Sharing With a URL as a Public Map</li><li>Preparing Charts With KML Data</li><li>Spatial Analysis and Building Thematic Map</li><li>Saving as a KML File</li><li>Coordinate System Conversion</li><li>Converting to Other Open Source Spatial Files</li><li>Working Speed: Fast</li></ol><h3>2. GeoJSON IO</h3><p>Page: <a href="http://geojson.io/">http://geojson.io/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*mfR5KmmSaAFodcKBKykA0A.png" /></figure><ol><li>Drag and Drop</li><li>Opening Multiple File</li><li>Getting Feature Information</li><li>Editing, Deleting, and Drawing Geometries</li><li>Editing Feature Informations</li><li>Saving as a KML File</li><li>Converting to Other Open Source Spatial Files</li><li>Working Speed: Fast</li></ol><h3>3. GPS Visualizer</h3><p>Page: <a href="https://www.gpsvisualizer.com/">https://www.gpsvisualizer.com/</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/715/1*k1UPFUsD7vyvsM4vTguu-Q.png" /></figure><ol><li>File Import Dialog</li><li>Feature Legend</li><li>Working Speed: Fast</li></ol><h3>4. Doogal</h3><p>Page : <a href="https://www.doogal.co.uk/KmlViewer.php">KML Viewer (doogal.co.uk)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/990/1*VgJKlAkLfEEzvgx4KxZGBw.png" /></figure><ol><li>File Import Dialog</li><li>Working Speed: Fast</li></ol><h3>5. Maple Precision</h3><p>Page: <a href="https://www.mapleprecision.com/">Maple Precision</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*r7LO5QkzNedl-UOilihPtg.png" /></figure><ol><li>Drag &amp; Drop</li><li>File Import</li><li>Sharing as a Public Map</li><li>3D Globe</li><li>Working Speed: Slow</li></ol><h3>6. Ivan Rublev</h3><p>Page : <a href="http://ivanrublev.me/">KML Viewer (ivanrublev.me)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*t2-c5dOwYrKj5g7CcXC6LA.png" /></figure><ol><li>Drag &amp; Drop</li><li>Working Speed: Fast</li></ol><h3>7. Aspose</h3><p>Page: <a href="https://products.aspose.app/gis/viewer/kml">KML, KMZ Viewer (aspose. app)</a></p><figure><img alt="" src="https://cdn-images-1.medium.com/max/994/1*-m4DTKwuOaUc6cRcXHR39g.png" /></figure><ol><li>Drag &amp; Drop</li><li>Generate as an Image File</li><li>Without Basemap</li><li>Working Speed: Fast</li></ol><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1954c33a9a53" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Using LANDSAT-8 Bands in Remote Sensing Images Use by GISLayer]]></title>
            <link>https://gislayer.medium.com/using-landsat-8-bands-in-remote-sensing-images-use-by-gislayer-826f7567b051?source=rss-93bf56991c63------2</link>
            <guid isPermaLink="false">https://medium.com/p/826f7567b051</guid>
            <category><![CDATA[gis]]></category>
            <category><![CDATA[landsat8]]></category>
            <category><![CDATA[remote-sensing]]></category>
            <category><![CDATA[satellite-imagery]]></category>
            <category><![CDATA[geographic-information]]></category>
            <dc:creator><![CDATA[GISLayer Articles]]></dc:creator>
            <pubDate>Sun, 06 Dec 2020 21:47:50 GMT</pubDate>
            <atom:updated>2020-12-07T01:14:10.334Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*X4R62ucoeJ6z_zst.png" /></figure><p>Some of the remote sensing satellites provide their users free of charge with raw data in the form of multiple bands. Using the remote sensing analysis of GISLayer, we have obtained the following results for the agricultural lands in Lake Sugla and its surroundings.</p><p>The satellite image used is produced by LANDSAT-8 and the band information is as follows.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*hDVM_xllecfzpCAk.png" /></figure><h3>Sugla Lake Natural Color Analysis</h3><p>Red : Band 4<br>Green : Band 3<br>Blue : Band 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*evmaPfO1Igovl-Oe.png" /></figure><h3>Sugla Lake Color Infrared Analysis</h3><p>NIR : Band 5<br>Red : Band 4<br>Green : Band 3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*zJlKX-j0HY-503gW.png" /></figure><h3>Sugla Lake False Color Analysis</h3><p>SWIR 2.19 : Band 7<br>SWIR 1.61 : Band 6<br>Red : Band 4</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*sm_dVaZeQJyeLFZ0.png" /></figure><h3>Sugla Lake Agriculture Analysis</h3><p>SWIR 1.61 : Band 6<br>NIR : Band 5<br>Blue : Band 2</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*e_oDUb0W59fohqH-.png" /></figure><h3>Sugla Lake Vegetation Index NDVI Analysis</h3><p>NIR : Band 5<br>Red : Band 4</p><p>Calculating : (NIR-Red)/(Red+Red)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*vvbGA6drCKRyDQ-q.png" /></figure><h3><strong>Sugla Lake Moisture Index </strong>Analysis</h3><p>NIR : Band 5<br>SWIR 1.61 : Band 6</p><p>Calculating : (NIR-SWIR 1.61)/(NIR+SWIR 1.61)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*tHB6ksMLhz1uD6ga.png" /></figure><h3>Sugla Lake Geology Analysis</h3><p>SWIR 2.19 : Band 7<br>Red : Band 4<br>Blue : Band 3</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*8A4JDvxTgqi5i-Kw.png" /></figure><h3>Sugla Lake Atmospheric Penetration Analysis</h3><p>SWIR 2.19 : Band 7<br>SWIR 1.61 : Band 6<br>NIR : Band 5***</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*Y91z5ZcstlMQp7-W.png" /></figure><h3>Sugla Lake SWIR Analysis</h3><p>SWIR 2.19 : Band 7<br>NIR : Band 5***<br>Red : Band 4</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*IQFWmTS_c6DsGe3l.png" /></figure><h3>Sugla Lake NDWI Analysis</h3><p>Green : Band 3<br>NIR : Band 5</p><p>Calculating : (Green-NIR)/(Green+NIR)</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*wmYsgRW6cUh_h4_g.png" /></figure><h3>Sugla Lake SWIR-2 Analysis</h3><p>Blur : Band 2<br>SWIR 1.61 : Band 6<br>SWIR 2.19 : Band 7</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*h9nnrsqWAn1g5J8R.png" /></figure><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=826f7567b051" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>