pmapper-users Mailing List for p.mapper (Page 8)
Brought to you by:
arminburger
You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(41) |
Nov
(124) |
Dec
(80) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(56) |
Feb
(51) |
Mar
(155) |
Apr
(58) |
May
(67) |
Jun
(83) |
Jul
(76) |
Aug
(32) |
Sep
(58) |
Oct
(113) |
Nov
(63) |
Dec
(83) |
2008 |
Jan
(31) |
Feb
(34) |
Mar
(69) |
Apr
(30) |
May
(87) |
Jun
(64) |
Jul
(47) |
Aug
(18) |
Sep
(35) |
Oct
(53) |
Nov
(37) |
Dec
(31) |
2009 |
Jan
(23) |
Feb
(40) |
Mar
(65) |
Apr
(54) |
May
(92) |
Jun
(55) |
Jul
(87) |
Aug
(27) |
Sep
(81) |
Oct
(32) |
Nov
(77) |
Dec
(51) |
2010 |
Jan
(44) |
Feb
(59) |
Mar
(77) |
Apr
(54) |
May
(36) |
Jun
(36) |
Jul
(52) |
Aug
(62) |
Sep
(68) |
Oct
(58) |
Nov
(72) |
Dec
(27) |
2011 |
Jan
(15) |
Feb
(42) |
Mar
(37) |
Apr
(55) |
May
(84) |
Jun
(27) |
Jul
(27) |
Aug
(42) |
Sep
(42) |
Oct
(18) |
Nov
(83) |
Dec
(71) |
2012 |
Jan
(50) |
Feb
(75) |
Mar
(79) |
Apr
(43) |
May
(18) |
Jun
(22) |
Jul
(20) |
Aug
(13) |
Sep
(26) |
Oct
(30) |
Nov
(21) |
Dec
(30) |
2013 |
Jan
(57) |
Feb
(63) |
Mar
(53) |
Apr
(40) |
May
(39) |
Jun
(16) |
Jul
(43) |
Aug
(16) |
Sep
(37) |
Oct
(64) |
Nov
(31) |
Dec
(7) |
2014 |
Jan
(14) |
Feb
(6) |
Mar
(2) |
Apr
(9) |
May
(1) |
Jun
(18) |
Jul
(95) |
Aug
(6) |
Sep
(25) |
Oct
(33) |
Nov
(29) |
Dec
(30) |
2015 |
Jan
(16) |
Feb
(3) |
Mar
(4) |
Apr
(9) |
May
(19) |
Jun
|
Jul
(11) |
Aug
(3) |
Sep
(9) |
Oct
(11) |
Nov
(4) |
Dec
(9) |
2016 |
Jan
(21) |
Feb
(9) |
Mar
(6) |
Apr
(13) |
May
(21) |
Jun
(4) |
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
(1) |
2017 |
Jan
(1) |
Feb
(4) |
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
(1) |
Dec
|
2018 |
Jan
(3) |
Feb
(4) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(2) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2019 |
Jan
|
Feb
(1) |
Mar
(1) |
Apr
(3) |
May
(1) |
Jun
|
Jul
|
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
2020 |
Jan
(1) |
Feb
(1) |
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: pasquale <pas...@en...> - 2015-04-14 15:02:25
|
sorry for my english. can you show the DATA header of the map file ? I'm trying to reproduce your situation but I have problems with postgis layer. My pmapper_demo.map has: LAYER CONNECTION "dbname='promo_db' hostname=localhost ....." CONNECTIONTYPE POSTGIS DATA 'geom FROM (SELECT * FROM strade_gal_osm) AS foo USING UNIQUE id USING SRID=23032' METADATA "RESULT_FIELDS" "id, source, target, st_length(geom) as cost" "RESULT_HEADER" "id,source,target,cost" END ... In config_default.xml, in searchlist section: <searchitem name="source" description="source"> <layer type="postgis" name="strade_gal_osm"> <field type="n" name="source" description="source" wildcard="0" /> <sql>SELECT seq, id1 as node, id2 as edge, cost from pgr_dijkstra('SELECT id, source, target, st_length(geom) as cost FROM strade_gal_osm', ~* '^[search]', 27735, false, false) as di JOIN strade_gal_osm pt ON di.id2 = pt.id;</sql>. when I enter a numeric value in search list pmapper returns only the first record containing the source corresponding to [search] with data header of metadata map file (id, source, target and cost) but no entire route source-target (my case 27735). Can you help me? I appreciate your help. Pasquale. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-pgrouting-tp4025437p4025749.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: <ele...@cr...> - 2015-04-09 10:28:49
|
Widow pop up is empty... I have read this thread https://www.mail-archive.com/search?l=pma...@li...&q=subject:%22[pmapper-users]+digitize+points%22&o=newest&f=1 and a try this query SELECT *, ST_Distance_Sphere(%s, %s) AS %s in my postgres but i have this error Errore SQL: ERROR: syntax error at or near "%" LINE 1: SELECT *, ST_Distance_Sphere(%s, %s) AS %s ^ Nel costrutto: SELECT *, ST_Distance_Sphere(%s, %s) AS %s no errors are reported in the connection db $db = DB::connect($dsn, true); if (DB::isError($db)) die ($db->getDebugInfo()); __________________________________________________ include_config.php $dsn = 'pgsql://user:pass@host:5432/dbname'; $db_table = 'toponimi-cat'; // Table name. $pkey = 'gid'; // Table's primary key. $the_geom = 'the_geom'; // Table's geometry field, type POINT. $srid_geom = 32633; // SRID of the geometry. $srid_map = 32633; // SRID of the map (clicked screen point). $tolerance = 500; // Distance in meteres to pick existing point for editing. $hide_fields = array('id'); // Table fields not displayed in the edit form. FILE map MAP EXTENT 350117.586532 4739786.469378 382150.132577 4773295.848327 IMAGECOLOR 255 255 255 UNITS meters SIZE 600 500 SHAPEPATH "/var/www/data" SYMBOLSET "../common/symbols/symbols-pmapper.sym" FONTSET "../common/fonts/msfontset.txt" RESOLUTION 96 IMAGETYPE png PROJECTION 'proj=utm' 'zone=33' 'datum=WGS84' 'units=m' 'no_defs' END LAYER NAME "Toponimi" TYPE POINT DUMP true TEMPLATE void EXTENT 360833.947860 4755676.707881 371581.165203 4766312.758308 CONNECTIONTYPE postgis CONNECTION "dbname='xxx' host=localhost port=5432 user='xxxx' password='xxx' sslmode=disable" DATA 'the_geom FROM "toponimi-cat" USING UNIQUE gid USING srid=32633' METADATA 'ows_title' 'toponimi-cat' END STATUS ON PROJECTION 'proj=utm' 'zone=33' 'datum=WGS84' 'units=m' 'no_defs' END LABELITEM "topo" CLASS NAME 'toponimi-cat' STYLE SYMBOL "square" SIZE 3.0 OUTLINECOLOR 0 0 0 COLOR 255 255 0 END LABEL POSITION Auto COLOR 0 0 0 BUFFER 2 TYPE truetype ENCODING "UTF-8" FONT FreeSans SIZE 7 MAXSIZE 9 #SIZE small END #Label END END help! thank you Eleonora |
From: <ele...@cr...> - 2015-04-09 09:36:12
|
Widow pop up is empty... I have read this thread https://www.mail-archive.com/search?l=pma...@li...&q=subject:%22[pmapper-users]+digitize+points%22&o=newest&f=1 and a try this query SELECT *, ST_Distance_Sphere(%s, %s) AS %s in my postgres but i have this error Errore SQL: ERROR: syntax error at or near "%" LINE 1: SELECT *, ST_Distance_Sphere(%s, %s) AS %s ^ Nel costrutto: SELECT *, ST_Distance_Sphere(%s, %s) AS %s no errors are reported in the connection db $db = DB::connect($dsn, true); if (DB::isError($db)) die ($db->getDebugInfo()); __________________________________________________ include_config.php $dsn = 'pgsql://user:pass@host:5432/dbname'; $db_table = 'toponimi-cat'; // Table name. $pkey = 'gid'; // Table's primary key. $the_geom = 'the_geom'; // Table's geometry field, type POINT. $srid_geom = 32633; // SRID of the geometry. $srid_map = 32633; // SRID of the map (clicked screen point). $tolerance = 500; // Distance in meteres to pick existing point for editing. $hide_fields = array('id'); // Table fields not displayed in the edit form. FILE map MAP EXTENT 350117.586532 4739786.469378 382150.132577 4773295.848327 IMAGECOLOR 255 255 255 UNITS meters SIZE 600 500 SHAPEPATH "/var/www/data" SYMBOLSET "../common/symbols/symbols-pmapper.sym" FONTSET "../common/fonts/msfontset.txt" RESOLUTION 96 IMAGETYPE png PROJECTION 'proj=utm' 'zone=33' 'datum=WGS84' 'units=m' 'no_defs' END LAYER NAME "Toponimi" TYPE POINT DUMP true TEMPLATE void EXTENT 360833.947860 4755676.707881 371581.165203 4766312.758308 CONNECTIONTYPE postgis CONNECTION "dbname='xxx' host=localhost port=5432 user='xxxx' password='xxx' sslmode=disable" DATA 'the_geom FROM "toponimi-cat" USING UNIQUE gid USING srid=32633' METADATA 'ows_title' 'toponimi-cat' END STATUS ON PROJECTION 'proj=utm' 'zone=33' 'datum=WGS84' 'units=m' 'no_defs' END LABELITEM "topo" CLASS NAME 'toponimi-cat' STYLE SYMBOL "square" SIZE 3.0 OUTLINECOLOR 0 0 0 COLOR 255 255 0 END LABEL POSITION Auto COLOR 0 0 0 BUFFER 2 TYPE truetype ENCODING "UTF-8" FONT FreeSans SIZE 7 MAXSIZE 9 #SIZE small END #Label END END help! thank you Eleonora |
From: gioza <al...@al...> - 2015-04-08 05:37:20
|
thanks. I agree you. My aim was to prevent caching just for one or two non-tiled layers, so to define them in the config file. As you said the main advantage of tiling is the caching sytem and your last implementations are really excellent! hi, Giovanni -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Tile-caching-support-in-p-mapper-5-tp4025722p4025746.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Armin B. <arm...@gm...> - 2015-04-07 18:35:58
|
you add a tag preventCaching="true" in the config XML file. I don't think it prevents caching for layers where you have a server-based tile-caching activated. Would also not make much sense to first say "use cache", and then say "no, don't use it"... I just added the "cache prevention" function in general to non-tiled layers even though there is practically no caching happening, except in a conceivable case where you might have dynamic layers defined. But it was simple to implement using the same function as for the layer used for result highlighting, so I added it. For the same reason I added that function then to tiled layers as well, even though I find it plainly useless to use tiled layers whose main advantage is the caching (at least in the browser) and then find a way to avoid exactly that... /a On 04/07/2015 12:33 PM, gioza wrote: > Hi Armin, > I have seen from svn trunk changeset 1377 which should prevent caching > possibility for layers. > How does it work? Have I to set any parameters in xml file? > Does it work independently of tilecaching system? > Thank you very much, > Giovanni > > > > -- > View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Tile-caching-support-in-p-mapper-5-tp4025722p4025744.html > Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. > > ------------------------------------------------------------------------------ > BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT > Develop your own process in accordance with the BPMN 2 standard > Learn Process modeling best practices with Bonita BPM through live exercises > http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_ > source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |
From: gioza <al...@al...> - 2015-04-07 10:33:48
|
Hi Armin, I have seen from svn trunk changeset 1377 which should prevent caching possibility for layers. How does it work? Have I to set any parameters in xml file? Does it work independently of tilecaching system? Thank you very much, Giovanni -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Tile-caching-support-in-p-mapper-5-tp4025722p4025744.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2015-04-02 08:07:49
|
hi armin, is "<tileCacheExpiration>" in config.xml mandatory? thanks, Giovanni -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Tile-caching-support-in-p-mapper-5-tp4025722p4025743.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: nando_gcia <nan...@ho...> - 2015-03-17 13:19:56
|
To see if the problem really is pmapper, I installed GeoMOOSE (a browser based mapping framework for distributed displaying cartographic data) to my computer 1 (MS4W v3.0.4 With Apache 2.2.21, 5.3.10 PHP, CGI MapServer 6.0.2 .) I have everything works perfectly. The layers are centered and zoom works perfect. It seems that pmapper 4.3.2. have some type of bug with on MapServer WMS services. <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025742/thump_9325763image4.jpg> -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/WMS-Projection-error-tp4025739p4025742.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: nando_gcia <nan...@ho...> - 2015-03-17 11:34:25
|
As the error continues, I installed PostgreSQL / PostGIS on computer 1 and pmapper load properly layers and zoom works well locally. But if I set the computer 1 as WMS and made requests from the computer 2 (ubuntu server) returns the error. Therefore the error occurs in two distinct versions when running as a service Mapserver WMS. (On computer 1 is installed MapServer version 6.0.2 and computer 2 is the 6.4.1.) How I can know why the error occurs? -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/WMS-Projection-error-tp4025739p4025741.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: nando_gcia <nan...@ho...> - 2015-03-16 10:43:28
|
Hello again, I have done a test to check gvSIG connecting wms layer as shown correctly and everything works fine service. It is centered and zoom corresponds to the area that is selected. So it appears to be some type of bug related srs and metric units I've also redesigned the coordinate system of the source files to EPSG: 23030 and pmapper continues with the problem. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/WMS-Projection-error-tp4025739p4025740.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: nando_gcia <nan...@ho...> - 2015-03-12 13:53:56
|
Hi all, I have two computers with the following configuration: Computer 1: MS4W v3.0.4 with Apache 2.2.21 (with OpenSSL 0.9.8r), PHP 5.3.10, 6.0.2 and Pmapper CGI MapServer 4.3.2. Computer 2: Ubuntu Server with MapServer 6.4.1, Apache 2.2.22, PHP 5.3.10, PostgreSQL and PostGIS. The map file in the computer 2 is configured to operate Mapserver as a WMS service: MAP NAME EDIFICIO_C5_MAP STATUS ON SIZE 800 800 EXTENT -93 -19 264 338 UNITS METERS IMAGECOLOR 255 255 255 IMAGETYPE PNG SYMBOLSET "../config/common/symbols/symbols-pmapper.sym" FONTSET "../config/common/fonts/msfontset.txt" TRANSPARENT FALSE RESOLUTION 100 DEFRESOLUTION 100 #CONFIG "MS_ERRORFILE" "/ms4w/ms_error_c5.txt" CONFIG "MS_ERRORFILE" "/opt/pmapper/pmapper-4.3.2/map/ms_error_c5.txt" OUTPUTFORMAT NAME png DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE PC256 EXTENSION "png" END OUTPUTFORMAT NAME "gif" DRIVER GD/GIF MIMETYPE "image/gif" IMAGEMODE PC256 EXTENSION "gif" END OUTPUTFORMAT NAME "jpeg" DRIVER AGG/JPEG MIMETYPE "image/jpeg" IMAGEMODE RGB EXTENSION "jpg" END # # Start of web interface definition # WEB #MINSCALE 10 #MAXSCALE 1000 # # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root # of the drive where the .MAP file resides. # IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/tmp/ms_tmp/" LOG "/opt/pmapper/pmapper-4.3.2/map/ms_error_c5.log" METADATA "wms_title" "WMS SIG-UCO SERVER" "wms_abstract" "SERVIDOR WMS" "wms_onlineresource" "http://150.xxx.xxx.xxx/cgi-bin/mapserv?map=/opt/pmapper/pmapper-4.3.2/map/c5_postgis.map&" "wms_srs" "epsg:3857" "wms_enable_request" "*" #necessary "wms_feature_info_mime_type" "text/html" END END # # Start of reference map # REFERENCE IMAGE "../images/keymap_c5.png" EXTENT -93 -19 264 338 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 SIZE 210 210 END # # Start of legend # LEGEND STATUS ON KEYSIZE 18 12 LABEL TYPE BITMAP # tipo de salida SIZE MEDIUM # tamaño COLOR 0 0 89 # color del texto END END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END # # Start of ScaleBar definition # SCALEBAR STATUS EMBED TRANSPARENT OFF INTERVALS 3 SIZE 200 5 UNITS meters COLOR 250 250 250 OUTLINECOLOR 0 0 0 BACKGROUNDCOLOR 100 100 100 STYLE 0 POSTLABELCACHE true LABEL COLOR 0 0 90 #OUTLINECOLOR 200 200 200 SIZE MEDIUM END # Label END # Reference PROJECTION "init=epsg:3857" END # SYMBOLS USED IN PMAPPER # - 'circle' always necessary (used e.g. for highlight) # - 'square' used in currecnt map file # Symbols can also be defined via tag SYMBOLSET (see above) Symbol Name 'circle' Type ELLIPSE Filled TRUE Points 1 1 END END Symbol Name 'square' Type VECTOR Filled TRUE Points 0 1 0 0 1 0 1 1 0 1 END END SYMBOL NAME "tabiqueria" TYPE vector POINTS 0 0 1 1 END END SYMBOL NAME "tejado" TYPE vector POINTS 1 0 0 1 END END SYMBOL NAME "terraza" TYPE vector POINTS 0 1 0 0 1 0 1 1 0 1 END END # # Start of layer definitions # LAYER CONNECTIONTYPE postgis CONNECTION "user=postgres password=xxxxxxxxxx dbname=edificio_c5 host=localhost port=5432" DATA "the_geom FROM c5_shape USING UNIQUE gid USING SRID=3857" GROUP "C5-GREGOR_MENDEL" NAME "C5-GREGOR_MENDEL" METADATA "DESCRIPTION" "ESPACIOS POLIGONADOS" "GROUP" "C5-DISTRIBUCION" "LAYER" "C5-GREGOR_MENDEL" "TRANSPORTATION" "TRUE" "RESULT_FIELDS" "dxf_text,area,perimeter,tipo_ubica,tipo_uso,contenido,practica,investigac,docente,otros,departamen,area_depto,profesor,pas" "RESULT_HEADERS" "IDENTIFICADOR, SUPERFICIE (m2), PERIMETRO (m), TIPO UBICACION, TIPO USO, DESCRIPCION, %PRACTICAS, %INVESTIGACION, %DOCENCIA, %OTROS USOS, DEPARTAMENTO, AREA DEPARTAMENTAL, PROFESOR, PERSONAL" "SPATIALSEARCH" "dxf_text" "SPATIALSEARCHLIST" "dxf_text,area,perimeter" "wms_group_title" "C5-DISTRIBUCION" "wms_title" "Plano C5 GREGOR MENDEL" "wms_name" "C5-GREGOR_MENDEL" "wms_format" "image/png" "wms_abstract" "C5 GREGOR MENDEL" "wms_srs" "epsg:3857" "wms_enable_request" "*" "wms_server_version" "1.1.1" "wms_extent" "-93 -19 264 338" "gml_include_items" "all" "wms_include_items" "all" END VALIDATION # %filtro% subtituciones sólo pueden tener letras minúsculas, mayúsculas y números 'filtro' '^[a-zA-Z0-9]+' END STATUS ON TEMPLATE "void" TYPE POLYGON CLASSITEM 'dxf_text' CLASS NAME "TABIQUERIA" EXPRESSION ('[dxf_text]' eq 'TABIQUERIA') STYLE COLOR 246 158 4 OUTLINECOLOR 100 100 100 BACKGROUNDCOLOR 254 202 112 SYMBOL "tabiqueria" SIZE 7 END #end style END CLASS NAME "ESCALERA EMERGENCIA" EXPRESSION (('[dxf_text]' eq 'ESCALERA EMERGENCIA') or ('[dxf_text]' eq 'RAMPA') or ('[dxf_text]' eq 'ESCALERA OBRA')) STYLE COLOR 150 196 150 OUTLINECOLOR 100 100 100 BACKGROUNDCOLOR 254 202 112 #SYMBOL "tabiqueria" SIZE 7 END #end style LABEL FONT "sans-bold" TYPE truetype SIZE 7 COLOR 0 0 0 OUTLINECOLOR 255 255 0 ALIGN CENTER FORCE FALSE PARTIALS TRUE POSITION AUTO MAXSCALEDENOM 600 END TEXT ('[dxf_text]') END CLASS NAME "BUSQUEDAS" EXPRESSION ('[dxf_text]' IN '%filtro%') # es la regla que define la pertenencia a una clase STYLE COLOR 255 125 125 OUTLINECOLOR 255 0 0 END #end style LABEL FONT "sans-bold" TYPE truetype SIZE 7 ALIGN CENTER COLOR 0 0 0 FORCE TRUE PARTIALS TRUE POSITION AUTO WRAP ':' END TEXT ('[dxf_text]' + ':' + '[tipo_ubica]') END # end class CLASS NAME "UBICACIONES" STYLE COLOR 235 235 235 OUTLINECOLOR 100 100 100 END #end style LABEL FONT "sans" TYPE truetype SIZE 7 ALIGN CENTER COLOR 0 0 0 OUTLINECOLOR 255 255 128 FORCE TRUE PARTIALS FALSE POSITION AUTO MAXSCALEDENOM 600 WRAP ':' END TEXT ('[dxf_text]' + ':' + '[tipo_ubica]') END # end class PROJECTION "init=epsg:3857" END END END # Map File >From the Computer 1 through pmapper try to see the WMS layers of ubuntu server, for that I have created the following file map: # # Start of map file pmapper # MAP NAME EDIFICIO_C5_MAP STATUS ON SIZE 800 800 EXTENT -93 -19 264 338 UNITS METERS IMAGECOLOR 255 255 255 IMAGETYPE PNG SYMBOLSET "../config/common/symbols/symbols-pmapper.sym" FONTSET "../config/common/fonts/msfontset.txt" TRANSPARENT FALSE RESOLUTION 100 DEFRESOLUTION 100 #CONFIG "MS_ERRORFILE" "/ms4w/ms_error_c5.txt" CONFIG "MS_ERRORFILE" "/opt/pmapper/pmapper-4.3.2/map/ms_error_c5.txt" OUTPUTFORMAT NAME png DRIVER "AGG/PNG" MIMETYPE "image/png" IMAGEMODE PC256 EXTENSION "png" END OUTPUTFORMAT NAME "gif" DRIVER GD/GIF MIMETYPE "image/gif" IMAGEMODE PC256 EXTENSION "gif" END OUTPUTFORMAT NAME "jpeg" DRIVER AGG/JPEG MIMETYPE "image/jpeg" IMAGEMODE RGB EXTENSION "jpg" END # # Start of web interface definition # WEB #MINSCALE 10 #MAXSCALE 1000 # # On Windows systems, /tmp and /tmp/ms_tmp/ should be created at the root # of the drive where the .MAP file resides. # IMAGEPATH "/tmp/ms_tmp/" IMAGEURL "/tmp/ms_tmp/" LOG "/opt/pmapper/pmapper-4.3.2/map/ms_error_c5.log" METADATA "wms_title" "WMS SIG-UCO SERVER" "wms_abstract" "SERVIDOR WMS" "wms_onlineresource" "http://150.214.120.135/cgi-bin/mapserv?map=/opt/pmapper/pmapper-4.3.2/map/c5_postgis.map&" "wms_srs" "epsg:3857" "wms_enable_request" "*" #necessary "wms_feature_info_mime_type" "text/html" END END # # Start of reference map # REFERENCE IMAGE "../images/keymap_c5.png" EXTENT -93 -19 264 338 STATUS ON COLOR -1 -1 -1 OUTLINECOLOR 255 0 0 SIZE 210 210 END # # Start of legend # LEGEND STATUS ON KEYSIZE 18 12 LABEL TYPE BITMAP # tipo de salida SIZE MEDIUM # tamaño COLOR 0 0 89 # color del texto END END QUERYMAP STATUS ON STYLE HILITE COLOR 255 255 0 END # # Start of ScaleBar definition # SCALEBAR STATUS EMBED TRANSPARENT OFF INTERVALS 3 SIZE 200 5 UNITS meters COLOR 250 250 250 OUTLINECOLOR 0 0 0 BACKGROUNDCOLOR 100 100 100 STYLE 0 POSTLABELCACHE true LABEL COLOR 0 0 90 #OUTLINECOLOR 200 200 200 SIZE MEDIUM END # Label END # Reference PROJECTION "init=epsg:3857" END # SYMBOLS USED IN PMAPPER # - 'circle' always necessary (used e.g. for highlight) # - 'square' used in currecnt map file # Symbols can also be defined via tag SYMBOLSET (see above) Symbol Name 'circle' Type ELLIPSE Filled TRUE Points 1 1 END END Symbol Name 'square' Type VECTOR Filled TRUE Points 0 1 0 0 1 0 1 1 0 1 END END SYMBOL NAME "tabiqueria" TYPE vector POINTS 0 0 1 1 END END SYMBOL NAME "tejado" TYPE vector POINTS 1 0 0 1 END END SYMBOL NAME "terraza" TYPE vector POINTS 0 1 0 0 1 0 1 1 0 1 END END # # Start of layer definitions # LAYER GROUP "C5-GREGOR_MENDEL" NAME "C5-GREGOR_MENDEL" TYPE POLYGON STATUS ON CONNECTIONTYPE WMS CONNECTION "http://150.214.120.135/cgi-bin/mapserv?map=/opt/pmapper/pmapper-4.3.2/map/c5_postgis.map" METADATA "DESCRIPTION" "ESPACIOS POLIGONADOS" "GROUP" "C5-DISTRIBUCION" "LAYER" "C5-GREGOR_MENDEL" "TRANSPORTATION" "TRUE" "RESULT_FIELDS" "dxf_text,area,perimeter,tipo_ubica,tipo_uso,contenido,practica,investigac,docente,otros,departamen,area_depto,profesor,pas" "RESULT_HEADERS" "IDENTIFICADOR, SUPERFICIE (m2), PERIMETRO (m), TIPO UBICACION, TIPO USO, DESCRIPCION, %PRACTICAS, %INVESTIGACION, %DOCENCIA, %OTROS USOS, DEPARTAMENTO, AREA DEPARTAMENTAL, PROFESOR, PERSONAL" "SPATIALSEARCH" "dxf_text" "SPATIALSEARCHLIST" "dxf_text,area,perimeter" "wms_group_title" "C5-DISTRIBUCION" "wms_title" "Plano C5 GREGOR MENDEL" "wms_name" "C5-GREGOR_MENDEL" "wms_format" "image/png" "wms_abstract" "C5 GREGOR MENDEL" "wms_srs" "epsg:3857" "wms_enable_request" "*" "wms_server_version" "1.1.1" "wms_extent" "-93 -19 264 338" "gml_include_items" "all" "wms_include_items" "all" END VALIDATION # %filtro% subtituciones sólo pueden tener letras minúsculas, mayúsculas y números 'filtro' '^[a-zA-Z0-9]+' END TEMPLATE "void" PROJECTION "init=epsg:3857" END END END # Map File The layer required from pmapper looks good but has some bugs: - The legend is not displayed in the TOC - The layer appears to the left within mapImage, instead of appearing centered. - When zooming in on the map, the result is that the zoom is performed on a different part, as if moved. What can be the problem? NOTE: I have attached some pictures where you can see what I described above: <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025739/Image1.jpg> <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025739/Image2.jpg> <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025739/Image3.jpg> -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/WMS-Projection-error-tp4025739.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: gioza <al...@al...> - 2015-02-27 07:11:22
|
you should create a different "folder" for every config_xxx.xml. I mean that for each configuration you should have at least its own js_script.php in which you can set a specific extent for your new project. This is a solution, mapfile can be the same just tell the confing_x.xml where to get it. -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-mapselect-and-zoomquery-tp4025713p4025738.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: uno d. <ref...@ya...> - 2015-02-21 04:15:52
|
Hi guys. Sorry for post this question. Maybe the answer is in the doc, but I can't solve. I'm using mapserver and pmapper over windows. I understand this. The back image (map image) is generated dynamically, using information obtained from others servers trough Internet. We can use an image to complement. (please correct if I are wrong?)How can I do that? in the .map file? I ask this, because we need display more detailed maps. Actually some islands aren't displayed. Can I buy a map? Can it has any format (extension)? or Can we obtain the map from other server? Any orientation will be appreciated. That's all, bye and sorry for my english |
From: gioza <al...@al...> - 2015-02-03 13:27:12
|
Hi all, which is the best version of mapserver to use with pmapper? In pmapper website I read that pmapper has been tested with mapserver version 5.6 to 6.2. Earlier versions of mapserver are compatible? -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-and-Mapserver-compability-tp4025736.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Andreas D. <and...@ya...> - 2015-01-30 07:05:13
|
I found one solution! Fist load clientDynLayJson in hidden input in body of map_uilayout.phtml (or map_default.phtml). <input type="hidden" id="clientDynLayJson" value='<?php echo isset($_SESSION["clientDynamicLayers"]) ? json_encode($_SESSION["clientDynamicLayers"]) : ""; ?>'> then make one trigger the fist time click tb_drawing element $( "#tb_drawing" ).one( "click", function() { setTimeout('PM.Custom.addDrawings()',3000); }); and finaly add the function below in custon.js addDrawings: function(){ var clientDynLayJson; clientDynLayJson=document.getElementById("clientDynLayJson").value; //alert(clientDynLayJson); if(clientDynLayJson.length>0){ PM.Plugin.Drawing.drawing_inputFileOnChange(clientDynLayJson); } } Please share your comments. Στις 3:59 μ.μ. Πέμπτη, 29 Ιανουαρίου 2015, ο/η Andreas Douvalis <and...@ya...> έγραψε: I think that drawing plugin ignores session clientDynamicLayers data! That means that if you close and reopen page-tab (without close browser and losing session) the drawing_TableContent does not include ex-drawing objects! Am I right? I suppose that I have to modify drawing.js to get objects list from session clientDynamicLayers data. Please help if there is something missing! Thanks in advance. ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ pmapper-users mailing list pma...@li... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
From: Andreas D. <and...@ya...> - 2015-01-29 13:58:57
|
I think that drawing plugin ignores session clientDynamicLayers data! That means that if you close and reopen page-tab (without close browser and losing session) the drawing_TableContent does not include ex-drawing objects! Am I right? I suppose that I have to modify drawing.js to get objects list from session clientDynamicLayers data. Please help if there is something missing! Thanks in advance. |
From: Andreas D. <and...@ya...> - 2015-01-28 10:46:54
|
Στις 12:43 μ.μ. Τετάρτη, 28 Ιανουαρίου 2015, ο/η Andreas Douvalis <and...@ya...> έγραψε: Thank you! You are right! I should have defined in js_config.php! Now it works! Στις 12:33 μ.μ. Τετάρτη, 28 Ιανουαρίου 2015, ο/η Thomas RAFFIN <tr...@si...> έγραψε: Hi, I don't really use proj4s plugin, so I'm not sure but I think you have to define the projection (3857 here): - in the XML (already done as I see below) - in JS - in your js_config.php : Proj4js.defs["EPSG:2154"]="+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs "; - or with the correct js file in pmapper/plugins/proj4js/defs Thomas Le 28/01/2015 11:03, Andreas Douvalis a écrit : > Can you help me with the javascript error bellow? > "NetworkError: 404 Not Found - /pmapper/projCode/null.js" > > My map projection is : > PROJECTION > "init=epsg:3857" > END # PROJECTION > and my config xml > <unitAndProj> > <projections> > <prj name="WEB-mercator"> > <definition>init=epsg:3857</definition> > </prj> > <prj name="lat/lon WGS84"> > <definition>init=epsg:4326</definition> > </prj> > <prj name="Greek Grid -EGSA87"> > <definition>init=epsg:2100</definition> > </prj> > <prj name="Google Mercator"> > <definition>init=epsg:900913</definition> > </prj> > </projections> > </unitAndProj> > <coordinates> > <mapPrj name="WEB-mercator" roundTo="0"> > </mapPrj> > <prj name="Greek Grid -EGSA87" roundTo="0"> > <definition>init=epsg:2100</definition> > </prj> > <prj name="lat/lon WGS84" roundTo="4"> > <definition>init=epsg:4326</definition> > </prj> > <prj name="WEB-mercator" roundTo="0"> > <definition>init=epsg:3857</definition> > </prj> > <prj name="Google Mercator" roundTo="0"> > <definition>init=epsg:900913</definition> > </prj> > </coordinates> > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users ------------------------------------------------------------------------------ Dive into the World of Parallel Programming. The Go Parallel Website, sponsored by Intel and developed in partnership with Slashdot Media, is your hub for all things parallel software development, from weekly thought leadership blogs to news, videos, case studies, tutorials and more. Take a look and join the conversation now. http://goparallel.sourceforge.net/ _______________________________________________ pmapper-users mailing list pma...@li... https://lists.sourceforge.net/lists/listinfo/pmapper-users |
From: Thomas R. <tr...@si...> - 2015-01-28 10:33:07
|
Hi, I don't really use proj4s plugin, so I'm not sure but I think you have to define the projection (3857 here): - in the XML (already done as I see below) - in JS - in your js_config.php : Proj4js.defs["EPSG:2154"]="+proj=lcc +lat_1=49 +lat_2=44 +lat_0=46.5 +lon_0=3 +x_0=700000 +y_0=6600000 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs "; - or with the correct js file in pmapper/plugins/proj4js/defs Thomas Le 28/01/2015 11:03, Andreas Douvalis a écrit : > Can you help me with the javascript error bellow? > "NetworkError: 404 Not Found - /pmapper/projCode/null.js" > > My map projection is : > PROJECTION > "init=epsg:3857" > END # PROJECTION > and my config xml > <unitAndProj> > <projections> > <prj name="WEB-mercator"> > <definition>init=epsg:3857</definition> > </prj> > <prj name="lat/lon WGS84"> > <definition>init=epsg:4326</definition> > </prj> > <prj name="Greek Grid -EGSA87"> > <definition>init=epsg:2100</definition> > </prj> > <prj name="Google Mercator"> > <definition>init=epsg:900913</definition> > </prj> > </projections> > </unitAndProj> > <coordinates> > <mapPrj name="WEB-mercator" roundTo="0"> > </mapPrj> > <prj name="Greek Grid -EGSA87" roundTo="0"> > <definition>init=epsg:2100</definition> > </prj> > <prj name="lat/lon WGS84" roundTo="4"> > <definition>init=epsg:4326</definition> > </prj> > <prj name="WEB-mercator" roundTo="0"> > <definition>init=epsg:3857</definition> > </prj> > <prj name="Google Mercator" roundTo="0"> > <definition>init=epsg:900913</definition> > </prj> > </coordinates> > > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming. The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net/ > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users |
From: Andreas D. <and...@ya...> - 2015-01-28 10:20:23
|
Can you help me with the javascript error bellow? "NetworkError: 404 Not Found - /pmapper/projCode/null.js" My map projection is : PROJECTION "init=epsg:3857" END # PROJECTION and my config xml <unitAndProj> <projections> <prj name="WEB-mercator"> <definition>init=epsg:3857</definition> </prj> <prj name="lat/lon WGS84"> <definition>init=epsg:4326</definition> </prj> <prj name="Greek Grid -EGSA87"> <definition>init=epsg:2100</definition> </prj> <prj name="Google Mercator"> <definition>init=epsg:900913</definition> </prj> </projections> </unitAndProj> <coordinates> <mapPrj name="WEB-mercator" roundTo="0"> </mapPrj> <prj name="Greek Grid -EGSA87" roundTo="0"> <definition>init=epsg:2100</definition> </prj> <prj name="lat/lon WGS84" roundTo="4"> <definition>init=epsg:4326</definition> </prj> <prj name="WEB-mercator" roundTo="0"> <definition>init=epsg:3857</definition> </prj> <prj name="Google Mercator" roundTo="0"> <definition>init=epsg:900913</definition> </prj> </coordinates> |
From: gioza <al...@al...> - 2015-01-21 14:52:26
|
Hi all, i am trying to figure out how to query a raster. Actually I see my query results but column "@" doesn't appear so that all the colums are left shifted and the zoom is undefined. In my opinion zoom isn't necessary for rasters. My setting in mapfile: TEMPLATE void TRANSPARENCY 80 TOLERANCEUNITS pixels TOLERANCE 3 METADATA "PM_DESCRIPTION" "solar" "PM_RESULT_FIELDS" "x,y,value_0" "PM_RESULT_HEADERS" "x,y,Valore" END -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/Pmapper5-query-raster-tp4025730.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: jose m. <jos...@gm...> - 2015-01-21 14:23:12
|
this means the records count -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Sum-fields-tp4025727p4025729.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: jose m. <jos...@gm...> - 2015-01-21 14:19:52
|
Hi Alexandre, I had also noted this need but mainly the sum of records found... -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/pmapper-users-Sum-fields-tp4025727p4025728.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Alexandre F. da S. <ale...@ho...> - 2015-01-21 13:12:32
|
Good day. When you select multiple polygons, opens me a floating window containing a table with the selected information of the polygons.How do I get the sum of a particular column (polygon area) and display at the bottom of this table. Alexandre Ferreira |
From: jose m. <jos...@gm...> - 2015-01-20 10:21:22
|
Dear all, I think it would be important to have the pmapper functionality that allow to export the table results according table sorted by the user. default table results: <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025726/default_table_results.jpg> export results as PDF file (according default table results): <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025726/export_table_results.jpg> ========== table results order by "Capital" column: <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025726/tabe_results_order_by_capital.jpg> export results as PDF file (DOESN´T ACCORDING by the new table order): <http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/file/n4025726/export_table_results.jpg> ========== Anyone has ever implemented this functionality or or someone can help to implement it? Thanks in advanced! José -- View this message in context: http://pmapper-users-p-mapper-users-mailing-list.993774.n3.nabble.com/table-results-order-by-tp4025726.html Sent from the pmapper-users -- p.mapper users mailing list mailing list archive at Nabble.com. |
From: Pedro V. <ped...@ya...> - 2015-01-08 22:23:14
|
Hi Thomas, Thank you very much! I just tested and it works! Both export and import! One question, is there any way to convert your JSON to standard GeoJSON? To open the saved data in other GIS software. At this time, only the "Zoom to all" does not seem to be working well. Zoom to each of the drawn features works very well. But not the "Zoom to all", which do a zoom beyond the maximum extent of the map. With you does not happen? I'm using the CRS EPSG:3763. Thanks Thomas! Best regards, Pedro ----- Mensagem original ----- > DE: Thomas RAFFIN > > Found (thanks you jose)! It depends on js configuration, compression > level and method, etc ... > > Just commited right now. > > Thomas > > > Le 06/01/2015 10:27, Thomas RAFFIN a écrit : >> Hi >> >> What about your PHP error log file please? >> >> Le 30/12/2014 01:29, Pedro Venâncio a écrit : >>> Hi Thomas, >>> >>> First of all, thank you very much for these improvements! >>> >>> I've been trying to update the Drawing plugin of one pmapper > application, but the "Export result" is not working. It opens a new > tab in browser, stays a little bit loading ../plugins/drawing/x_drawExport.php > page, and then I get "NetworkError: 500 Internal Server Error" (on > firebug). >>> >>> What could be going wrong? >>> >>> Thank you very much! >>> >>> Best regards, >>> Pedro >>> >>> >>> >>> >>> >>> ----- Mensagem original ----- >>>> DE: Thomas RAFFIN >>>> Para: pmapper-users >>>> >>>> Hi, >>>> >>>> I've just committed few things in pmapper4 trunk version. Here > is a >>>> quick changelog: >>>> - new plugin: "multimedia_files" to show images in the > result window >>>> - drawing with more features: save file, reload, zoom to all, > change >>>> properties for already drawn features, change comment, uniformize > somme >>>> properties for all features of the same type, ... >>>> - measure2: change color for already drawn features >>>> - query editor: add operator at cursor position >>>> - selection management: remove whole layer >>>> - ... >>>> >>>> Feel free to add documentation in the wiki or correct few bugs in >>>> drawing plugin (or other): >>>> - dynamic window for properties opened at the beginning >>>> - buttons at the bottom of the main drawing window are badly > positioned >>>> - ... >>>> >>>> Bye >>>> >>>> Thomas >> >> > ------------------------------------------------------------------------------ >> Dive into the World of Parallel Programming! The Go Parallel Website, >> sponsored by Intel and developed in partnership with Slashdot Media, is > your >> hub for all things parallel software development, from weekly thought >> leadership blogs to news, videos, case studies, tutorials and more. Take a >> look and join the conversation now. http://goparallel.sourceforge.net >> _______________________________________________ >> pmapper-users mailing list >> pma...@li... >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > > > ------------------------------------------------------------------------------ > Dive into the World of Parallel Programming! The Go Parallel Website, > sponsored by Intel and developed in partnership with Slashdot Media, is your > hub for all things parallel software development, from weekly thought > leadership blogs to news, videos, case studies, tutorials and more. Take a > look and join the conversation now. http://goparallel.sourceforge.net > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |