Import Shapefile in Map addon

Is it possible to import a shape file in Map addon?

Hi, @vimleshjaipur

Not directly, but you can convert a shapefile into JTS geometries, then work with these geometries in the Maps add-on.

Here are possible solutions for conversion:

  1. In the JTS github there is an example of a class converting a shapefile into JTS types.
  2. You can also add GeoTools library as a dependency and use it for spatial types conversion.


Thanks, Gleb.