pg_tileserv
Service Metadata
Table Layers
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_amostra___legado (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_amostras_casa_63_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_bairros___legado (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_eixo_logradouro (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_ferrovias (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_hidrografia (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_limite_municipal (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_none_20260120_1029 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_none_20260120_1030 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_none_20260120_1053 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_none_20260120_1056 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_polos_pvg_66_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_quadras (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_setores_censitarios (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_setores_novo (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_teste_mapa (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_zonas (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_zonas_fiscais_65_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.core_zonas_homogeneas_64_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.limite_municipal (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_amostra___legado (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_amostras_casa_63_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_bairros___legado (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_eixo_logradouro (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_ferrovias (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_hidrografia (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_limite_municipal (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_none_20260120_1029 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_none_20260120_1030 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_none_20260120_1053 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_none_20260120_1056 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_polos_pvg_66_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_quadras (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_setores_censitarios (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_setores_novo (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_teste_mapa (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_zonas (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_zonas_fiscais_65_1 (preview | json)
-
data__1f366912_a3b4_4875_b747_faa3ba5839dd__.vw_core_zonas_homogeneas_64_1 (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.1f909a8c-e8e8-4ff6-adf8-bb36e87366ae (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.8ef23d68-7dc9-43ad-ad61-b41e5d12e027 (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.ced773a2-549a-4b16-b504-2c8d5595cbef (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.coleta_ponto (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.core_teste_fiscalizacao (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.teste180226 (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.teste_poligono (preview | json)
-
data__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.vw_core_teste_fiscalizacao (preview | json)
-
data__39fa1f4d_ddfa_41e4_bbb9_95a45cd27a68__.017a2349-9e82-4a39-968a-0c0cba69fd8f (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.aff691d9_fe0c_4d3f_8548_e0716e80ecf2_snci_mdc_4 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.camada_de_poligono (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_ferrovias (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_ferrovias_39_1 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_hidrografia (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_hidroteste (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_instalacoes_38_1 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_linha (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_none_20260119_1529 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_none_20260119_1934 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_none_20260120_1239 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_none_20260121_1757 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_none_20260121_1758 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_poligono (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_ponto (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_setores_araraquara_43_1 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_teste_2 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_teste_4 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_teste_5 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_teste_6 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_testehidro (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.core_vegetacao24s (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.nova_camada (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_ferrovias (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_ferrovias_39_1 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_hidrografia (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_hidroteste (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_instalacoes_38_1 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_linha (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_none_20260119_1529 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_none_20260119_1934 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_none_20260121_1757 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_none_20260121_1758 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_ponto (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_setores_araraquara_43_1 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_teste_2 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_teste_4 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_teste_5 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_teste_6 (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_testehidro (preview | json)
-
data__face0586_e9d0_438f_90da_9990b82832fc__.vw_core_vegetacao24s (preview | json)
-
data_sys__1f366912_a3b4_4875_b747_faa3ba5839dd__.reo_real_estate_properties (preview | json)
-
data_sys__1f366912_a3b4_4875_b747_faa3ba5839dd__.ubs_circuit_geometry_versions (preview | json)
-
data_sys__1f366912_a3b4_4875_b747_faa3ba5839dd__.ubs_circuits (preview | json)
-
data_sys__1f366912_a3b4_4875_b747_faa3ba5839dd__.ubs_service_events (preview | json)
-
data_sys__1f366912_a3b4_4875_b747_faa3ba5839dd__.ubs_service_routes (preview | json)
-
data_sys__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.reo_real_estate_properties (preview | json)
-
data_sys__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.ubs_circuit_geometry_versions (preview | json)
-
data_sys__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.ubs_circuits (preview | json)
-
data_sys__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.ubs_service_events (preview | json)
-
data_sys__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.ubs_service_routes (preview | json)
-
data_sys__39fa1f4d_ddfa_41e4_bbb9_95a45cd27a68__.reo_real_estate_properties (preview | json)
-
data_sys__39fa1f4d_ddfa_41e4_bbb9_95a45cd27a68__.ubs_circuit_geometry_versions (preview | json)
-
data_sys__39fa1f4d_ddfa_41e4_bbb9_95a45cd27a68__.ubs_circuits (preview | json)
-
data_sys__39fa1f4d_ddfa_41e4_bbb9_95a45cd27a68__.ubs_service_events (preview | json)
-
data_sys__39fa1f4d_ddfa_41e4_bbb9_95a45cd27a68__.ubs_service_routes (preview | json)
-
data_sys__face0586_e9d0_438f_90da_9990b82832fc__.reo_real_estate_properties (preview | json)
-
data_sys__face0586_e9d0_438f_90da_9990b82832fc__.ubs_circuit_geometry_versions (preview | json)
-
data_sys__face0586_e9d0_438f_90da_9990b82832fc__.ubs_circuits (preview | json)
-
data_sys__face0586_e9d0_438f_90da_9990b82832fc__.ubs_service_events (preview | json)
-
data_sys__face0586_e9d0_438f_90da_9990b82832fc__.ubs_service_routes (preview | json)
-
external__278be9c7_b9cc_4a84_a7ef_e966f13ed9b3__.teste (preview | json)
Function Layers
-
public.get_dynamic_tile (preview | json)
Função dinâmica para geração de tiles vetoriais.
Parâmetros (via query JSON):
- schema: Schema da tabela (default: cadastro)
- table: Nome da tabela (obrigatório)
- geom: Nome da coluna de geometria (obrigatório)
- srid: SRID da geometria fonte (obrigatório)
- fields: Campos a retornar separados por vírgula (opcional, default: todos)
Exemplo de uso:
SELECT get_dynamic_tile(14, 5966, 9474,
'{"schema":"cadastro","table":"lote","geom":"geom","srid":4326,"fields":"id,inscricao"}'::json
);
-
public.get_dynamic_tile_buffer (preview | json)
Função dinâmica para geração de tiles vetoriais com BUFFER.
Cria área de influência ao redor das geometrias.
Parâmetros (via query JSON):
Camada:
- schema: Schema da tabela (default: cadastro)
- table: Nome da tabela (obrigatório)
- geom: Coluna de geometria (obrigatório)
- srid: SRID da geometria (obrigatório)
- fields: Campos a retornar (opcional)
Buffer:
- buffer_meters: Distância do buffer em metros (default: 100)
- buffer_segments: Segmentos por quadrante para círculos (default: 8)
- dissolve: Se true, une todos os buffers (default: false)
Output:
- layer_name: Nome da layer no MVT (default: buffer)
Exemplo:
-- Buffer de 50m ao redor de vias
SELECT get_dynamic_tile_buffer(14, 5948, 8960,
'{"schema":"infraestrutura","table":"vias","geom":"geom","srid":4326,
"buffer_meters":50,"fields":"id,nome"}'::json
);
-- Buffer dissolvido (área única)
SELECT get_dynamic_tile_buffer(14, 5948, 8960,
'{"schema":"meio_ambiente","table":"app","geom":"geom","srid":4326,
"buffer_meters":30,"dissolve":true}'::json
);
-
public.get_dynamic_tile_intersection (preview | json)
Função dinâmica para geração de tiles vetoriais com INTERSEÇÃO de duas camadas.
Inclui simplificação adaptativa por zoom e limite de features.
Parâmetros (via query JSON):
Layer 1:
- schema1: Schema da tabela 1 (default: cadastro)
- table1: Nome da tabela 1 (obrigatório)
- geom1: Coluna de geometria 1 (obrigatório)
- srid1: SRID da geometria 1 (obrigatório)
- fields1: Campos a retornar da tabela 1 (opcional)
Layer 2:
- schema2: Schema da tabela 2 (default: cadastro)
- table2: Nome da tabela 2 (obrigatório)
- geom2: Coluna de geometria 2 (obrigatório)
- srid2: SRID da geometria 2 (obrigatório)
- fields2: Campos a retornar da tabela 2 (opcional)
Output:
- layer_name: Nome da layer no MVT (default: intersection)
Restrições:
- Zoom mínimo: 10 (JOIN espacial é pesado)
- Limites por zoom: z10-12=100, z13-14=500, z15-16=1000, z17+=2000
Exemplo:
SELECT get_dynamic_tile_intersection(14, 5948, 8960,
'{"schema1":"ctm","table1":"cdo_quadra","geom1":"geom","srid1":4326,
"schema2":"ctm","table2":"ldm_poligono","geom2":"geom","srid2":4326}'::json
);
-
public.get_dynamic_tile_simplify (preview | json)
Função dinâmica OTIMIZADA para geração de tiles vetoriais.
Inclui simplificação adaptativa por zoom e limite de features.
Parâmetros (via query JSON):
- schema: Schema da tabela (default: cadastro)
- table: Nome da tabela (obrigatório)
- geom: Nome da coluna de geometria (obrigatório)
- srid: SRID da geometria fonte (obrigatório)
- fields: Campos a retornar separados por vírgula (opcional, default: todos)
Otimizações automáticas por zoom:
- z <= 6: simplificação ~111m, limite 500 features
- z <= 10: simplificação ~55m, limite 2000 features
- z <= 14: simplificação ~11m, limite 5000 features
- z > 14: sem simplificação, limite 10000 features
Exemplo de uso:
SELECT get_dynamic_tile_simplify(10, 372, 560,
'{"schema":"cadastro","table":"lote","geom":"geom","srid":4326,"fields":"id,inscricao"}'::json
);