Presentacin de PowerPoint - PowerPoint PPT Presentation

1 / 11
About This Presentation
Title:

Presentacin de PowerPoint

Description:

8:30 10:00 (1,5hs) Instalaci n de PostgreSQL con la extensi n PostGIS como ... Configuraci n de Mapserver para explotar datos PostGIS (WMS) 11:00- 11:30. caf ... – PowerPoint PPT presentation

Number of Views:28
Avg rating:3.0/5.0
Slides: 12
Provided by: Dan8186
Category:

less

Transcript and Presenter's Notes

Title: Presentacin de PowerPoint


1
Postgis
Infraestructuras de Datos Espaciales (IDE)
Daniela Ballari Universidad Politécnica de Madrid
2
  • Temario

3
Configurar capa Postgis en MapServer
4
Capa en MapServer
  • LAYER
  • NAME paises
  • CONNECTIONTYPE postgis
  • CONNECTION "userpostgres passwordservice
    dbnamecurso hostlocalhost"
  • DATA "the_geom FROM paises"
  • STATUS ON
  • TYPE polygon
  • CLASS
  • COLOR 200 0 0
  • outlinecolor 100 100 100
  • END
  • PROJECTION
  • "initEPSG4326"
  • END
  • METADATA
  • "wms_title" "paises"
  • "wms_abstract" "Limites de los paises"

5
  • Cambiar campo gid por oid

6
Petición WMS
  • http//localhost85/cgi-bin/cursoIDE?request
    getmapversion1.1.0serviceWMSlayerspaisessrs
    EPSG4326BBOX-180,-90,180,90formatpngWIDTH5
    00height300

7
  • LAYER
  • NAME paises2
  • CONNECTIONTYPE postgis
  • CONNECTION "userpostgres passwordservice
    dbnamecurso hostlocalhost"
  • DATA "the_geom FROM paises"
  • FILTER "oid 30"
  • STATUS ON
  • TYPE polygon
  • CLASS
  • COLOR 200 200 0
  • outlinecolor 100 100 100
  • END
  • PROJECTION
  • "initEPSG4326"
  • END
  • METADATA
  • "wms_title" "paises"
  • "wms_abstract" "Limites de los paises"

8
  • http//localhost85/cgi-bin/cursoIDE?requestg
    etmapversion1.1.0serviceWMSlayerspaises,pais
    es2srsEPSG4326BBOX-180,-90,180,90formatpng
    WIDTH500height300

9
  • LAYER
  • NAME paises3
  • CONNECTIONTYPE postgis
  • CONNECTION "userpostgres passwordservice
    dbnamecurso hostlocalhost"
  • DATA "the_geom FROM paises"
  • STATUS ON
  • TYPE polygon
  • CLASS COLOR 200 0 0
  • EXPRESSION (sqkm gt 400000) ENDCLASS
    COLOR 200 200 0
  • EXPRESSION (sqkm lt 400000) END
  • METADATA
  • "wms_title" "paises"
  • "wms_abstract" "Limites de los paises"
  • "wms_keywordlist" "WMS limites paises"
  • "wms_srs" "EPSG4326"
  • END
  • END

10
  • http//localhost85/cgi-bin/cursoIDE?requestgetma
    pversion1.1.0serviceWMSlayerspaises,paises2,
    paises3srsEPSG4326BBOX-180,-90,180,90format
    pngWIDTH500height300

11
?
?
?
?
?
?
Write a Comment
User Comments (0)
About PowerShow.com