Wednesday, 26 September 2018

Loading external WFS (GML output format) in Leaflet map


I need to build a Leaflet map loading data from this external WFS service


http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/Numeri_Civici_2012.map&service=WFS&request=GetCapabilities&


with these output formats




text/xml; subtype=gml/3.1.1


Here you are a sample of the data


http://wms.pcn.minambiente.it/ogc?map=/ms_ogc/wfs/Numeri_Civici_2012.map&SERVICE=WFS&VERSION=1.0.0&REQUEST=GetFeature&TYPENAME=IN.NUMERICIVICI.2012&SRSNAME=EPSG:4326&bbox=7.59,44.83,7.75,44.94&outputFormat=GML2&


I know how to load an external WFS if the output format: here you are a sample






Get External JSONP









... but this obviously doesn't work with GML.


Any suggestions in case of GML output formats?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...