Skip to content

Instantly share code, notes, and snippets.

@jgrocha
Created October 19, 2019 18:51
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save jgrocha/0bc7c393c1fb32c8906515ea5c336386 to your computer and use it in GitHub Desktop.
Save jgrocha/0bc7c393c1fb32c8906515ea5c336386 to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://qgis.demo:80/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql:?service=pg_geotuga&sslmode=disable&schema=public&project=depende&amp;SERVICE=WMS&amp;REQUEST=XSL"?>
<WMS_Capabilities xmlns:sld="http://www.opengis.net/sld" xmlns:qgs="http://www.qgis.org/wms" version="1.3.0" xmlns="http://www.opengis.net/wms" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.opengis.net/wms http://schemas.opengis.net/wms/1.3.0/capabilities_1_3_0.xsd http://www.opengis.net/sld http://schemas.opengis.net/sld/1.1.0/sld_capabilities.xsd http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;REQUEST=GetSchemaExtension">
<Service>
<Name>WMS</Name>
<KeywordList>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende"/>
<Fees>conditions unknown</Fees>
<AccessConstraints>None</AccessConstraints>
</Service>
<Capability>
<Request>
<GetCapabilities>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</GetCapabilities>
<GetMap>
<Format>image/jpeg</Format>
<Format>image/png</Format>
<Format>image/png; mode=16bit</Format>
<Format>image/png; mode=8bit</Format>
<Format>image/png; mode=1bit</Format>
<Format>application/dxf</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</GetMap>
<GetFeatureInfo>
<Format>text/plain</Format>
<Format>text/html</Format>
<Format>text/xml</Format>
<Format>application/vnd.ogc.gml</Format>
<Format>application/vnd.ogc.gml/3.1.1</Format>
<Format>application/json</Format>
<Format>application/geo+json</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</GetFeatureInfo>
<sld:GetLegendGraphic>
<Format>image/jpeg</Format>
<Format>image/png</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</sld:GetLegendGraphic>
<sld:DescribeLayer>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</sld:DescribeLayer>
<qgs:GetStyles>
<Format>text/xml</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</qgs:GetStyles>
<GetPrint>
<Format>svg</Format>
<Format>png</Format>
<Format>pdf</Format>
<DCPType>
<HTTP>
<Get>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;"/>
</Get>
</HTTP>
</DCPType>
</GetPrint>
</Request>
<Exception>
<Format>XML</Format>
</Exception>
<sld:UserDefinedSymbolization SupportSLD="1" RemoteWFS="0" UserStyle="1" UserLayer="0" RemoteWCS="0" InlineFeature="0"/>
<ComposerTemplates>
<ComposerTemplate width="210" height="297" name="gutemberg">
<ComposerMap width="177.42" height="202.8147388781417" name="map0"/>
</ComposerTemplate>
<ComposerTemplate width="297" height="210" name="camoes">
<ComposerMap width="96.77460000000001" height="91.6270148936152" name="map0"/>
</ComposerTemplate>
</ComposerTemplates>
<WFSLayers>
<WFSLayer name="edificado"/>
<WFSLayer name="estarreja"/>
<WFSLayer name="Freguesias de Portugal"/>
<WFSLayer name="Números de polícia"/>
<WFSLayer name="ruínas"/>
</WFSLayers>
<Layer queryable="1">
<KeywordList>
<Keyword vocabulary="ISO">infoMapAccessService</Keyword>
</KeywordList>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-9.68717</westBoundLongitude>
<eastBoundLongitude>-6.01968</eastBoundLongitude>
<southBoundLatitude>36.9318</southBoundLatitude>
<northBoundLatitude>42.171</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.42961e+6" maxx="-670108" minx="-1.07837e+6" maxy="5.18664e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-9.68717" maxx="42.171" minx="36.9318" maxy="-6.01968" CRS="EPSG:4326"/>
<BoundingBox miny="-301955" maxx="174687" minx="-128433" maxy="277942" CRS="EPSG:3763"/>
<TreeName></TreeName>
<Layer geometryType="NoGeometry" displayField="id" visible="1" queryable="1">
<Name>intervencoes</Name>
<Title>intervencoes</Title>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=intervencoes&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<TreeName>intervencoes</TreeName>
<PrimaryKey>
<PrimaryKeyAttribute>id</PrimaryKeyAttribute>
</PrimaryKey>
<Attributes>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="id"/>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="ogc_fid"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="varchar" comment="" name="foto"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="timestamptz" comment="" name="dataintervencao"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="varchar" comment="" name="estado"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="varchar" comment="" name="obs"/>
</Attributes>
</Layer>
<Layer geometryType="MultiPoint" displayField="ogc_fid" visible="1" queryable="1">
<Name>ruinas</Name>
<Title>ruínas</Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-8.5995</westBoundLongitude>
<eastBoundLongitude>-8.52504</eastBoundLongitude>
<southBoundLatitude>40.8035</southBoundLatitude>
<northBoundLatitude>40.832</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.98341e+6" maxx="-949003" minx="-957292" maxy="4.98759e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-8.5995" maxx="40.832" minx="40.8035" maxy="-8.52504" CRS="EPSG:4326"/>
<BoundingBox miny="126166" maxx="-33072.7" minx="-39339.9" maxy="129291" CRS="EPSG:3763"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=ruinas&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<TreeName>ruínas</TreeName>
<PrimaryKey>
<PrimaryKeyAttribute>ogc_fid</PrimaryKeyAttribute>
</PrimaryKey>
<Attributes>
<Attribute precision="0" length="-1" type="int" editType="TextEdit" typeName="int4" comment="" name="ogc_fid"/>
<Attribute precision="-1" length="-1" type="QString" editType="ExternalResource" typeName="varchar" comment="" name="foto"/>
<Attribute precision="-1" length="-1" type="QString" editType="ValueMap" typeName="varchar" comment="" name="rua"/>
<Attribute precision="-1" length="-1" type="QString" editType="TextEdit" typeName="varchar" comment="" name="freguesia"/>
<Attribute precision="-1" length="-1" type="QString" editType="TextEdit" typeName="varchar" comment="" name="estado"/>
<Attribute precision="-1" length="-1" type="QString" editType="TextEdit" typeName="varchar" comment="" name="obs"/>
</Attributes>
</Layer>
<Layer geometryType="MultiPoint" displayField="descricao" visible="0" queryable="1">
<Name>numpolicia</Name>
<Title>Números de polícia</Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-8.64025</westBoundLongitude>
<eastBoundLongitude>-8.52318</eastBoundLongitude>
<southBoundLatitude>40.6895</southBoundLatitude>
<northBoundLatitude>40.833</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.96664e+6" maxx="-948796" minx="-961829" maxy="4.98774e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-8.64025" maxx="40.833" minx="40.6895" maxy="-8.52318" CRS="EPSG:4326"/>
<BoundingBox miny="113516" maxx="-32972.4" minx="-42776.7" maxy="129406" CRS="EPSG:3763"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=numpolicia&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<TreeName>Números de polícia</TreeName>
<PrimaryKey>
<PrimaryKeyAttribute>id</PrimaryKeyAttribute>
</PrimaryKey>
<Attributes>
<Attribute precision="0" length="-1" type="int" editType="TextEdit" typeName="int4" comment="" name="id"/>
<Attribute precision="-1" length="11" type="QString" editType="TextEdit" typeName="varchar" comment="" name="numero"/>
<Attribute precision="-1" length="10" type="QString" editType="TextEdit" typeName="varchar" comment="" name="dicofre"/>
<Attribute precision="-1" length="75" type="QString" editType="TextEdit" typeName="varchar" comment="" name="descricao"/>
<Attribute precision="-1" length="21" type="QString" editType="TextEdit" typeName="varchar" comment="" name="registo"/>
<Attribute precision="-1" length="50" type="QString" editType="TextEdit" typeName="varchar" comment="" name="nome_da_ru"/>
<Attribute precision="-1" length="10" type="QString" editType="TextEdit" typeName="varchar" comment="" name="colocacao"/>
<Attribute precision="-1" length="52" type="QString" editType="TextEdit" typeName="varchar" comment="" name="nome"/>
<Attribute precision="-1" length="50" type="QString" editType="TextEdit" typeName="varchar" comment="" name="comentario"/>
<Attribute precision="-1" length="10" type="QString" editType="TextEdit" typeName="varchar" comment="" name="codpostal"/>
<Attribute precision="-1" length="11" type="QString" editType="TextEdit" typeName="varchar" comment="" name="nif"/>
<Attribute precision="-1" length="50" type="QString" editType="TextEdit" typeName="varchar" comment="" name="tipo"/>
<Attribute precision="0" length="-1" type="int" editType="Range" typeName="int4" comment="" name="num_via"/>
<Attribute precision="-1" length="10" type="QString" editType="TextEdit" typeName="varchar" comment="" name="cil2"/>
<Attribute precision="-1" length="12" type="QString" editType="TextEdit" typeName="varchar" comment="" name="t_local"/>
<Attribute precision="-1" length="50" type="QString" editType="TextEdit" typeName="varchar" comment="" name="artigo"/>
<Attribute precision="-1" length="9" type="QString" editType="TextEdit" typeName="varchar" comment="" name="codine"/>
<Attribute precision="-1" length="10" type="QString" editType="TextEdit" typeName="varchar" comment="" name="colocado_2"/>
<Attribute precision="-1" length="10" type="QString" editType="TextEdit" typeName="character" comment="tipo de ligacao" name="ligacacao"/>
<Attribute precision="-1" length="-1" type="QString" editType="TextEdit" typeName="varchar" comment="" name="observacoes"/>
</Attributes>
</Layer>
<Layer visible="0" queryable="1" mutuallyExclusive="0">
<Name>edificios</Name>
<Title>Edfícios</Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-8.64143</westBoundLongitude>
<eastBoundLongitude>-8.52254</eastBoundLongitude>
<southBoundLatitude>40.6886</southBoundLatitude>
<northBoundLatitude>40.8335</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.96652e+6" maxx="-948725" minx="-961960" maxy="4.98782e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-8.64143" maxx="40.8335" minx="40.6886" maxy="-8.52254" CRS="EPSG:4326"/>
<BoundingBox miny="113424" maxx="-32918.8" minx="-42875.8" maxy="129463" CRS="EPSG:3763"/>
<TreeName>Edfícios</TreeName>
<Layer geometryType="MultiPolygon" displayField="descricao_" visible="0" queryable="1">
<Name>edificado</Name>
<Title>edificado</Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-8.64034</westBoundLongitude>
<eastBoundLongitude>-8.52338</eastBoundLongitude>
<southBoundLatitude>40.6891</southBoundLatitude>
<northBoundLatitude>40.8331</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.96659e+6" maxx="-948819" minx="-961838" maxy="4.98775e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-8.64034" maxx="40.8331" minx="40.6891" maxy="-8.52338" CRS="EPSG:4326"/>
<BoundingBox miny="113473" maxx="-32989.6" minx="-42784" maxy="129412" CRS="EPSG:3763"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=edificado&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<TreeName>edificado</TreeName>
<PrimaryKey>
<PrimaryKeyAttribute>ogc_fid</PrimaryKeyAttribute>
</PrimaryKey>
<Attributes>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="ogc_fid"/>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="cod_cart"/>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="cod_sub"/>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="cod_fam"/>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="id10k_pgco"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="varchar" comment="" name="alterado"/>
<Attribute precision="0" length="-1" type="int" editType="" typeName="int4" comment="" name="dtccfr"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="varchar" comment="" name="caracteriz"/>
<Attribute precision="-1" length="-1" type="QString" editType="" typeName="varchar" comment="" name="descricao_"/>
<Attribute precision="-1" length="-1" type="double" editType="" typeName="float8" comment="" name="shape_leng"/>
<Attribute precision="-1" length="-1" type="double" editType="" typeName="float8" comment="" name="shape_area"/>
</Attributes>
</Layer>
</Layer>
<Layer geometryType="MultiPolygon" displayField="id" visible="1" queryable="1">
<Name>estarreja</Name>
<Title>estarreja</Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-8.66748</westBoundLongitude>
<eastBoundLongitude>-8.51124</eastBoundLongitude>
<southBoundLatitude>40.6884</southBoundLatitude>
<northBoundLatitude>40.8338</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.96648e+6" maxx="-947467" minx="-964860" maxy="4.98786e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-8.66748" maxx="40.8338" minx="40.6884" maxy="-8.51124" CRS="EPSG:4326"/>
<BoundingBox miny="113408" maxx="-31963.1" minx="-45072.8" maxy="129490" CRS="EPSG:3763"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=estarreja&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<TreeName>estarreja</TreeName>
<PrimaryKey>
<PrimaryKeyAttribute>id</PrimaryKeyAttribute>
</PrimaryKey>
<Attributes>
<Attribute precision="0" length="-1" type="int" editType="Range" typeName="int4" comment="" name="id"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="dicofre"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="freguesia"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="concelho"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="distrito"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="taa"/>
<Attribute precision="-1" length="-1" type="double" editType="TextEdit" typeName="float8" comment="" name="area_ea_ha"/>
<Attribute precision="-1" length="-1" type="double" editType="TextEdit" typeName="float8" comment="" name="area_t_ha"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="des_simpli"/>
<Attribute precision="-1" length="-1" type="QString" editType="TextEdit" typeName="varchar" comment="" name="idconcelho"/>
</Attributes>
</Layer>
<Layer geometryType="MultiPolygon" displayField="id" visible="1" queryable="1">
<Name>freguesias</Name>
<Title>Freguesias de Portugal</Title>
<CRS>CRS:84</CRS>
<CRS>EPSG:3763</CRS>
<CRS>EPSG:4326</CRS>
<CRS>EPSG:3857</CRS>
<EX_GeographicBoundingBox>
<westBoundLongitude>-9.575</westBoundLongitude>
<eastBoundLongitude>-6.17204</eastBoundLongitude>
<southBoundLatitude>36.948</southBoundLatitude>
<northBoundLatitude>42.1543</northBoundLatitude>
</EX_GeographicBoundingBox>
<BoundingBox miny="4.43186e+6" maxx="-687068" minx="-1.06588e+6" maxy="5.18412e+6" CRS="EPSG:3857"/>
<BoundingBox miny="-9.575" maxx="42.1543" minx="36.948" maxy="-6.17204" CRS="EPSG:4326"/>
<BoundingBox miny="-300405" maxx="162129" minx="-119191" maxy="276084" CRS="EPSG:3763"/>
<Style>
<Name>default</Name>
<Title>default</Title>
<LegendURL>
<Format>image/png</Format>
<OnlineResource xlink:type="simple" xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://qgis.demo/cgi-bin/qgis_mapserv.fcgi?MAP=postgresql%3A%3Fservice%3Dpg_geotuga%26sslmode%3Ddisable%26schema%3Dpublic%26project%3Ddepende&amp;SERVICE=WMS&amp;VERSION=1.3.0&amp;REQUEST=GetLegendGraphic&amp;LAYER=freguesias&amp;FORMAT=image/png&amp;STYLE=default&amp;SLD_VERSION=1.1.0"/>
</LegendURL>
</Style>
<TreeName>Freguesias de Portugal</TreeName>
<PrimaryKey>
<PrimaryKeyAttribute>id</PrimaryKeyAttribute>
</PrimaryKey>
<Attributes>
<Attribute precision="0" length="-1" type="int" editType="TextEdit" typeName="int4" comment="" name="id"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="dicofre"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="freguesia"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="concelho"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="distrito"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="taa"/>
<Attribute precision="-1" length="-1" type="double" editType="TextEdit" typeName="float8" comment="" name="area_ea_ha"/>
<Attribute precision="-1" length="-1" type="double" editType="TextEdit" typeName="float8" comment="" name="area_t_ha"/>
<Attribute precision="-1" length="254" type="QString" editType="TextEdit" typeName="varchar" comment="" name="des_simpli"/>
<Attribute precision="-1" length="-1" type="QString" editType="TextEdit" typeName="varchar" comment="" name="idconcelho"/>
</Attributes>
</Layer>
</Layer>
<LayerDrawingOrder>freguesias,estarreja,edificado,numpolicia,ruinas</LayerDrawingOrder>
</Capability>
</WMS_Capabilities>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment