Commit 263da077c6f751aea47c3178b481a0d55f7ace74

Authored by Edmar Moretti
1 parent 82318422

--no commit message

Showing 1 changed file with 59 additions and 54 deletions   Show diff stats
temas/_lubs.map
1 -MAP  
2 - FONTSET "../symbols/fontes.txt"  
3 - SYMBOLSET "../symbols/simbolos.sym"  
4 - LAYER  
5 - CONNECTION "user=guest_sala password=151617 dbname=dbspo host=10.1.2.25 port=5432"  
6 - CONNECTIONTYPE POSTGIS  
7 - DATA "the_geom from (  
8 - SELECT  
9 - st_geomfromtext('POINT(' || dbgeral.tb_estab_geo.long || ' ' || dbgeral.tb_estab_geo.lat || ')', 4326)as the_geom,  
10 - dbsismob.tb_sismob_unid_func.no_unidade,  
11 - tb_sismob_unid_func.co_cnes as gid,  
12 - dbgeral.tb_ibge.uf,  
13 - dbgeral.tb_ibge.cidade,  
14 - dbacoes_saude.tb_cnes_estabelecimento.no_logradouro,  
15 - dbacoes_saude.tb_cnes_estabelecimento.no_bairro  
16 - FROM  
17 - dbsismob.tb_sismob_unid_func  
18 - INNER JOIN dbacoes_saude.tb_cnes_estabelecimento ON  
19 - dbsismob.tb_sismob_unid_func.co_cnes = dbacoes_saude.tb_cnes_estabelecimento.co_cnes  
20 - INNER JOIN dbgeral.tb_ibge  
21 - ON dbsismob.tb_sismob_unid_func.co_ibge = dbgeral.tb_ibge.ibge  
22 - INNER JOIN dbgeral.tb_estab_geo  
23 - ON dbsismob.tb_sismob_unid_func.co_cnes = dbgeral.tb_estab_geo.co_cnes  
24 - WHERE dbsismob.tb_sismob_unid_func.co_sismob_programa = 1 limit 100  
25 - ) as foo using unique gid using srid=4326"  
26 - METADATA  
27 - "METAESTAT_ID_MEDIDA_VARIAVEL" ""  
28 - "CLASSE" "SIM"  
29 - "permitekmz" "nao"  
30 - "METAESTAT_CODIGO_TIPO_REGIAO" ""  
31 - "permitedownload" "sim"  
32 - "metaestat" ""  
33 - "permitekml" "sim"  
34 - "permiteogc" "sim"  
35 - "convcaracter" ""  
36 - "TEMA" "Teste UBS kml"  
37 - END # METADATA  
38 - NAME "_lubs"  
39 - STATUS DEFAULT  
40 - TEMPLATE "none.htm"  
41 - TILEITEM "location"  
42 - TYPE POINT  
43 - UNITS METERS  
44 - CLASS  
45 - NAME ""  
46 - STYLE  
47 - OUTLINECOLOR 255 0 0  
48 - SYMBOL "p0"  
49 - END # STYLE  
50 - END # CLASS  
51 - END # LAYER  
52 -  
53 -END # MAP  
54 - 1 +MAP
  2 + FONTSET "../symbols/fontes.txt"
  3 + SYMBOLSET "../symbols/simbolos.sym"
  4 + LAYER
  5 + CONNECTION "user=guest_sala password= dbname=dbspo host= port=5432"
  6 + CONNECTIONTYPE POSTGIS
  7 + DATA "the_geom from (
  8 + SELECT
  9 + st_geomfromtext('POINT(' || dbgeral.tb_estab_geo.long || ' ' || dbgeral.tb_estab_geo.lat || ')', 4326)as the_geom,
  10 + dbsismob.tb_sismob_unid_func.no_unidade,
  11 + tb_sismob_unid_func.co_cnes as gid,
  12 + dbgeral.tb_ibge.uf,
  13 + dbgeral.tb_ibge.cidade,
  14 + dbacoes_saude.tb_cnes_estabelecimento.no_logradouro,
  15 + dbacoes_saude.tb_cnes_estabelecimento.no_bairro
  16 + FROM
  17 + dbsismob.tb_sismob_unid_func
  18 + INNER JOIN dbacoes_saude.tb_cnes_estabelecimento ON
  19 + dbsismob.tb_sismob_unid_func.co_cnes = dbacoes_saude.tb_cnes_estabelecimento.co_cnes
  20 + INNER JOIN dbgeral.tb_ibge
  21 + ON dbsismob.tb_sismob_unid_func.co_ibge = dbgeral.tb_ibge.ibge
  22 + INNER JOIN dbgeral.tb_estab_geo
  23 + ON dbsismob.tb_sismob_unid_func.co_cnes = dbgeral.tb_estab_geo.co_cnes
  24 + WHERE dbsismob.tb_sismob_unid_func.co_sismob_programa = 1 limit 100
  25 + ) as foo using unique gid using srid=4326"
  26 + METADATA
  27 + "METAESTAT_ID_MEDIDA_VARIAVEL" ""
  28 + "CLASSE" "SIM"
  29 + "permitekmz" "sim"
  30 + "METAESTAT_CODIGO_TIPO_REGIAO" ""
  31 + "permitedownload" "sim"
  32 + "metaestat" ""
  33 + "download" "SIM"
  34 + "arquivokmz" ""
  35 + "arquivodownload" ""
  36 + "permiteogc" "sim"
  37 + "permitekml" "sim"
  38 + "TEMA" "Teste UBS kml"
  39 + "convcaracter" ""
  40 + END # METADATA
  41 + NAME "_lubs"
  42 + STATUS DEFAULT
  43 + TEMPLATE "none.htm"
  44 + TILEITEM "location"
  45 + TYPE POINT
  46 + UNITS METERS
  47 + CLASS
  48 + NAME ""
  49 + STYLE
  50 + ANGLE 0
  51 + OFFSET 0 0
  52 + OUTLINECOLOR 255 0 0
  53 + SYMBOL "p0"
  54 + END # STYLE
  55 + END # CLASS
  56 + END # LAYER
  57 +
  58 +END # MAP
  59 +