Extending Openlayers capabilites

Extending Openlayers capabilites

If you have used openlayers in the past, you know it's capabilities very well. Openlayers allows users to put interactive map on client side. Users can see base maps, add data (vector and raster), capture movements such as click, hover, etc. , add controls like north, zoom in/out and add interactions like draw, modify, etc. Because of all these features, openlayers is a go-to choice (at least for me) when it comes to creating open-source web GIS application.

We at our agency Rotten Grapes pvt ltd. have created applications in various fields.


In this blog we'll take a look at some advance functions on openlayers using this amazing open source package maintained by viglino .


Styling

Openlayers by default supports Styling in following ways

  1. Fill - allows users to decide the fill of polygon
  2. Stroke - allows users to plan styling for line and polygon edges
  3. Circle - allows users can create markers for point data using this
  4. Icon - allows users to create point style using Icons and Images
  5. Text - allows users to create labels

Apart from these , ol-ext allows following styles

Photo - using photos for icons , here is example of same

No alt text provided for this image

Chart - using various chart options like pie, 3dpie, donut or bar and data to define the characteristics of chart. Example

No alt text provided for this image

Texture - This can be used to fill texture in polygon. There are several texture patterns pre-built and custom textures can also be created. Example

No alt text provided for this image


Clustering - users can see dense data as cluster with animation using this. Example

No alt text provided for this image

Controls

LayerSwitcher - Creating controller for layer toggle along with opacity slider and Z-Indexing.

No alt text provided for this image

Swipe - Users can split screen to see separate layers at the same time.

No alt text provided for this image

Sub-bar - users can create nested menu items using this. Example

No alt text provided for this image

printdialog - Users can create custom prints using this. Example

No alt text provided for this image


Interactions

Draw Hole - Users can draw holes in existing polygons. Example

No alt text provided for this image

Split geometry - Splitting geometry by snapping to nearest point. Example

No alt text provided for this image

transform geometry - Geometry can be scaled up/down, rotated, stretched, transformed, etc. Example

No alt text provided for this image

OSM Geo-coder - add address search bar to application using OSM data. Example

No alt text provided for this image


Apart from these widely used features, there are many more. I'd encourage you to check examples page to find out all.


Let us know in comments If you want full course video on various capabilities of this package.


Rik de Hoop

B -- Applied Geo Information Science ☆

1 年

Are there 3d rendering capabilitie integrations with js plugins such as three.js? E.g. like mapbox offers.

回复

Do you like open layers check out our iOS,Android and Windows application built with open layers map Map Discovery https://mapdiscovery.techmaven.net We've made this app 100% free It works with transactional editing and data creation through wfs-t As well as creating and editing geojson Source code is available We also use this map in Tile Server iOS, Android and windows and geodata server

CHESTER SWANSON SR.

Realtor Associate @ Next Trend Realty LLC | HAR REALTOR, IRS Tax Preparer

1 年

Well said.

Reuben Painter

Geospatial Developer | Co-founder Oasis Aero

1 年

Very helpful, cheers Krishna!

回复
Goba Joseph

ingénieur SIG Geospatial technical writer #RendreLaCartoGlamour??

1 年

Openlayers j'y ai jamais touché j'ai préféré leaflet mais c'est toujours top d'apprendre autre chose merci pour cet article j'espère y apprendre des choses pour me familiariser avec openlayers

要查看或添加评论,请登录

Krishna Lodha的更多文章

  • How to Generate Contour on the fly on GeoServer

    How to Generate Contour on the fly on GeoServer

    Digital Elevation Models (DEM) are crucial for terrain analysis, and contour lines are one of the best ways to…

    1 条评论
  • 5 Python Libraries for Earth Observation

    5 Python Libraries for Earth Observation

    Earth observation has become a cornerstone of the GIS industry, driven by the exponential growth in satellite missions…

    2 条评论
  • Digital Terrain Models in GIS: A Practitioner’s Guide to DSM, DTM, and DEM

    Digital Terrain Models in GIS: A Practitioner’s Guide to DSM, DTM, and DEM

    Picture yourself flying over a city in a helicopter. Looking down, you see buildings piercing the sky, trees dotting…

    3 条评论
  • Get Sentinel Data within seconds in?Python

    Get Sentinel Data within seconds in?Python

    With the development of STAC specification, accessing Satellite datasets have become easy and standard approach. This…

    1 条评论
  • The Ultimate Guide of Downloading OSM Data using ChatGPT

    The Ultimate Guide of Downloading OSM Data using ChatGPT

    Open Street Map is a collaborative mapping project that aims to create a free and editable map of the world. Unlike…

    7 条评论
  • Simple way of authentication for Geoserver

    Simple way of authentication for Geoserver

    Geoserver is an amazing tool which allows users to share spatial data of vector and raster type using OGC services like…

    1 条评论
  • Editing Feature directly via Geoserver

    Editing Feature directly via Geoserver

    GeoServer, an open-source geospatial server, provides powerful capabilities for serving and managing geospatial data…

    5 条评论
  • Custom popups in Geoserver

    Custom popups in Geoserver

    When we upload any layer to Geoserver, we can check the data on click by going in to Layer preview and display layer as…

    1 条评论
  • Install Geoserver on Mac OS

    Install Geoserver on Mac OS

    I use mac for most of my development purpose, and it’s already lil scary trying to install executables and libraries…

    3 条评论
  • Install Geoserver on Windows

    Install Geoserver on Windows

    I was recently trying to install Geoserver on a windows machine, until now I was using version 2.15, which had a…

    6 条评论

社区洞察

其他会员也浏览了