pmapper-users Mailing List for p.mapper (Page 187)
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: Armin B. <arm...@gm...> - 2006-12-30 16:56:03
|
In principal it should work with WFS without modifications of the code. I attached a screenshot taking the countries layer from the demo dataset as WFS served via mapserv CGI WFS. Some things to mention: - Query seems to work only if the projection of the WFS layer is the same as the projection of the MAP - in this case also the zoom extent of the feature is correct - I have not understood how one can define/request a re-projection neither for MS as WFS server nor as client - MS as WFS server needs to have the following defined for the LAYER in order to have the identify working correctly on the client side: DUMP TRUE METADATA "gml_include_items" "all" In principal all that needed some deeper investigations why with different projections it is not working and if the error is on the Mapscript, p.mapper or MS WFS server side. This has no high priority for me since WFS in my opinion is not really usable for web mapping in its current implementation for anything else than very simple datasets like points. Otherwise the delay for data retrieval is huge due to the enormous amount of data to be sent over the Web and the subsequent XML parsing. If you would like to make all those tests of the various combinations, you're welcome! armin Walter Lorenzetti wrote: > Hi All, > > I'm working with pmapper3 and I'm trying to put a wfs layer > The visualization is ok but no for quryon layer.. > Someone have do write a script for this query type? > > Bye > Walter > |
From: Walter L. <lor...@fa...> - 2006-12-27 10:50:58
|
Hi All, I'm working with pmapper3 and I'm trying to put a wfs layer The visualization is ok but no for quryon layer.. Someone have do write a script for this query type? Bye Walter -- Walter Lorenzetti email: lor...@fa... jabber: wa...@fa... www.faunalia.it Piazza Garibaldi 5 - 56025 Pontedera (PI), Italy Tel: (+39)347-6597931 |
From: Cristian R. <cri...@la...> - 2006-12-21 20:35:39
|
Hi, please, can anybody let me a little explanation about how / where=20 put a custom postgis sql in order to work with search section? =20 I set the array in js_config.php searchList['calles'] =3D new Array('<?php echo _p("Intersecciones")?>', '#STREET1&&#STREET2', '<?php echo _p("Calles") ?>','');=20 =20 I need run a SQL with this 2 text ( #STREET1&&#STREET2) : =20 select textstring, gid, xmin(box3d(p.the_geom)) AS minx, ymin(box3d(p.the_geom)) AS miny,=20 xmax(box3d(p.the_geom)) AS maxx,=20 ymax(box3d(p.the_geom)) AS maxy=20 from calles p,=20 (select the_geom from calles where textstring like 'STREET1%') a=20 where intersects(a.the_geom,p.the_geom) and textstring =3D 'STREET2'; =20 If you please let me how can i do this. =20 Best regards for all & Merry Cristmas =20 Feliz Navidad y un pr=F3spero a=F1o nuevo. Cristian =20 =20 =20 |
From: Armin B. <arm...@gm...> - 2006-12-21 14:45:27
|
listserver server wrote: > Hi Armin, > > i've 2 problems with my application done with Pmapper 3! > > First Problem > coordinate X is = to coordinate Y on bottom left > (with pmapper 3beta1 all was fine) This is an error that occur only to > me or to evreyone? was some too fast and sloppy copy/paste. just modify in zoombox.js in line 783 $('#ycoord').html('Y: ' + px); // + ' °'; the px to py. I updated it also on the svn latest-stable branch. armin > > and second problem > how i can enlarge the window of the FRAME of autoidentify query ? > i've searched in css but i was not able to change it. layout.css > > Thank you in advance |
From: stirner m. <sti...@ho...> - 2006-12-21 03:19:17
|
Ahh the reason was in directory "tmp" I have bad directory in my Mapfile...., ms4w workink fine with pmapper 3.0 Thank again Armin... you know put any name in the part low Left of mi map Armin? Thank >From: "Armin Burger" <arm...@gm...> >To: "stirner mathematic" <sti...@ho...> >CC: pma...@li... >Subject: Re: [pmapper-users] Problem Ms4w v 2.2.1 >Date: Wed, 20 Dec 2006 14:08:17 +0100 > >and what was the reason why it was not working? > >armin > >-------- Original-Nachricht -------- >Datum: Wed, 20 Dec 2006 03:26:10 +0000 >Von: "stirner mathematic" <sti...@ho...> >An: arm...@gm... >Betreff: Re: [pmapper-users] Problem Ms4w v 2.2.1 > > > > > Hi Armin... > > > > I get working pmapper 3.......thank Armin for you help. Thank > > > > Armin you know if is possible put any Name in the corner (i.e Low left > > part) de my map.. > > > > I hope you help > > > > Thank Armin > > > > > > >From: Armin Burger <arm...@gm...> > > >Reply-To: arm...@gm... > > >To: stirner mathematic <sti...@ho...> > > >CC: pma...@li... > > >Subject: Re: [pmapper-users] Problem Ms4w v 2.2.1 > > >Date: Tue, 19 Dec 2006 09:57:23 +0100 > > > > > >As a general rule of the thumb: start with default values first and see > > if > > >it works before trying to customize everything. The new functions > > >introduced for the various paths should normally make it not necessary >to > > >specify any absolute path at all, that's why they have been introduced. > > > > > >And I don't understand why you get a path like > > > > > >config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php > > > > > >if you specified just 'default' for pm_config_location. Try to comment >it > > >out completely (it takes 'default' as default value). > > > > > > > > >stirner mathematic wrote: > > >> > > >>Thank Armin ... but I specify Default in my Config.ini...it is ok.. > > >> > > >>In "pm_javascript_location"... I have specify like > > >>c:/ms4w/apache/htdocs/pmapper3/javascript it is ok? armin > > >> > > >>In "m_incphp_location" I have specify like > > >>c:/ms4w/apache/htdocs/pmapper3/incphp it is ok? > > >> > > > > > >no, but see above. And if you want to play with it, read first the > > >documentation 'Configuration Options of the INI File'. > > > > > >armin > > > > _________________________________________________________________ > > Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! > > http://latino.msn.com/entretenimiento/ > >-- >Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! >Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer _________________________________________________________________ Visita MSN Latino Noticias: Todo lo que pasa en el mundo y en tu paín, ¡en tu idioma! http://latino.msn.com/noticias/ |
From: Armin B. <arm...@gm...> - 2006-12-20 21:38:21
|
Andre, my patch was a bit too sloppy, you need both checks, so have it like if (checkScale($this->map, $mLayer, $this->map->scale)) { if ($mLayerStatus == MS_ON) { ... } } or take this http://svn.pmapper.net/trac/browser/pmapper/branches/latest-stable/incphp/map.php armin Andre van Atten wrote: > Armin, > > Thanks for your answer. I like the xy layer because imho it is faster then ogr en it gives the possibility to add a where clause. This is nice because itdoes not require the need and db rights to create a view and still have the possibilty of filtering. > Maybe if more people learn how to use it becomes more popular! > > Thanks for giving it attention, > > Andre > > > -----Original Message----- > From: Armin Burger > To: Andre van Atten > CC: pma...@li... > Sent: Wed Dec 20 21:46:53 2006 > Subject: Re: [pmapper-users] XYLAYER does not respond to MAXSCALE setting in the mapfile > > this is quite possible that it's not working. I keep this kind of layers > just as legacy, I never use them any more and I doubt lots of others do. > It became a bit obsolete with OGR based layers doing something similar. > > I will check if it's easily possible to adapt it to correct behaviour. > > armin > > Andre van Atten wrote: >> Hi list, >> >> I have a problem with XY-layers in Pmapper 3.0 on ms4w (2.2.1). It shows on >> the map, but when I zoom out, it should respond to the MAXSCALE setting, >> above this scale the layer should switch off automatically like any other >> layers, but it doesn't. I have the same problem with Pmapper 1.53 on ms4w >> 1.5. >> >> In the legend, the layer is grayed when I zoom out, but enabling/disabling >> the layer still works despite of the zoom level. The problem is that the >> database is queried with a large amount of points. >> I tried setting the MAXFEATURES setting also, but it didn't work out either. >> >> The layer definition is: >> >> LAYER >> STATUS OFF >> NAME "Addresses" >> TYPE POINT >> UNITS METERS >> SIZEUNITS PIXELS >> MINSCALE 500 >> MAXSCALE 10000 >> #MAXFEATURES 1000 >> TOLERANCE 5 >> TOLERANCEUNITS PIXELS >> METADATA >> "DESCRIPTION" "Addresses" >> "RESULT_FIELDS" "Cityname, StreetName, nrVA, nrTM, Zip, RangeX, >> RangeY" >> "RESULT_HEADERS" "Plaatsnaam, Straatnaam, vanafNR, totenmetNR, PC6, >> X, Y" >> "XYLAYER_PROPERTIES" >> "odbc://'':''/localhost@DBAndre||fn_vw_TopoStreetRanges()@RangeX>0||RangeX,RangeY,0" >> END >> CLASS >> NAME "Addresses" >> TEMPLATE void >> STYLE >> SYMBOL 'default-circle' >> COLOR 255 0 0 >> SIZE 6 >> MINSIZE 1 >> MAXSIZE 100 >> END >> END >> END >> >> The XYLAYER_PROPERTIES is one line in the mapfile. >> Obviously the function returns the recordset like any standard SQL, this >> works the same as any SQL select. ALL XY layers have the same problem when >> zooming out, independant of their (ODBC) source. >> I use the PEAR from version ms4w 2.1, it works fine, all db-related stuff >> works fine. >> >> My ini file: >> >> [GENERAL] >> >> ; p.mapper version >> pmapper = 3.0.0 >> msVersion = 4.10.0 >> pm_config_location = ovreis >> ;pm_incphp_location = ../../pmapper2lib/incphp >> ;pm_javascript_location = ../../pmapper2lib/javascript >> mapFile = "/ms4w/apps/maplab-2.2.1/OVReis/OVReis.map" >> pm_default_language = nl >> defCharset = UTF-8 >> map2unicode = 1 >> allGroups = "My commaseparated layer list, I will not annoy you with it. >> Actually defined in categories" >> defGroups = Andes6, Andes5, Andes4, Andes3, Andes2, Andes1 >> ;mutualDisableList = notused >> layerAutoRefresh = 1 >> limitResult = 500 >> highlightColor = 0, 10, 80 >> highlightSelected = on >> autoZoom = nquery >> zoomAll = search nquery >> infoWin = window >> alignQueryResults = 1 >> pointBuffer = 1000 >> catStyle = tree >> grpStyle = tree >> legStyle = attached >> useCategories = 1 >> scaleLayers = 1 >> icoW = 18 >> icoH = 14 >> imgFormat = png >> altImgFormat = jpeg >> ;altImgFormatLayers = jpl_wms_global_mosaic, dem >> sliderMax = max >> sliderMin = 1000 >> pdfres = 2 >> dpiLevels = 150, 200, 300 >> enableRightMousePan = 1 >> >> I also tried different combinations of layer grouping / catgories / styles >> on/off, but that does'nt seem to make any difference >> >> Thanks, >> Andre >> >> >> |
From: Armin B. <arm...@gm...> - 2006-12-20 20:51:11
|
1) get PHP Mapscript running 2) ensure that the map file produces a reasonable result using shp2img 3) read the docs of p.mapper how and where to configure it armin Eduardo Ross wrote: > Hi, >=20 > It's me again >=20 > Demo is not working, I am trying to run pmapper_demo > but I can not. >=20 > It is very confusing for me find several files named > pmapper_demo.map pmapper_demo_dd.map > pmapper_demo_test.map and in different folders some in > the config\test, config\default, another in the > pmapper_demo folder. >=20 > I don=B4t know which one is the good one and where it > must be located. >=20 > another question is >=20 > Do I need to run a php before running the demo ? > there is a startup_config.php , php_config.php, etc >=20 >=20 >=20 > Help, I need somebody. >=20 > Eduardo Ross >=20 > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around=20 > http://mail.yahoo.com=20 >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users >=20 |
From: Armin B. <arm...@gm...> - 2006-12-20 20:47:17
|
this is quite possible that it's not working. I keep this kind of layers just as legacy, I never use them any more and I doubt lots of others do. It became a bit obsolete with OGR based layers doing something similar. I will check if it's easily possible to adapt it to correct behaviour. armin Andre van Atten wrote: > Hi list, > > I have a problem with XY-layers in Pmapper 3.0 on ms4w (2.2.1). It shows on > the map, but when I zoom out, it should respond to the MAXSCALE setting, > above this scale the layer should switch off automatically like any other > layers, but it doesn't. I have the same problem with Pmapper 1.53 on ms4w > 1.5. > > In the legend, the layer is grayed when I zoom out, but enabling/disabling > the layer still works despite of the zoom level. The problem is that the > database is queried with a large amount of points. > I tried setting the MAXFEATURES setting also, but it didn't work out either. > > The layer definition is: > > LAYER > STATUS OFF > NAME "Addresses" > TYPE POINT > UNITS METERS > SIZEUNITS PIXELS > MINSCALE 500 > MAXSCALE 10000 > #MAXFEATURES 1000 > TOLERANCE 5 > TOLERANCEUNITS PIXELS > METADATA > "DESCRIPTION" "Addresses" > "RESULT_FIELDS" "Cityname, StreetName, nrVA, nrTM, Zip, RangeX, > RangeY" > "RESULT_HEADERS" "Plaatsnaam, Straatnaam, vanafNR, totenmetNR, PC6, > X, Y" > "XYLAYER_PROPERTIES" > "odbc://'':''/localhost@DBAndre||fn_vw_TopoStreetRanges()@RangeX>0||RangeX,RangeY,0" > END > CLASS > NAME "Addresses" > TEMPLATE void > STYLE > SYMBOL 'default-circle' > COLOR 255 0 0 > SIZE 6 > MINSIZE 1 > MAXSIZE 100 > END > END > END > > The XYLAYER_PROPERTIES is one line in the mapfile. > Obviously the function returns the recordset like any standard SQL, this > works the same as any SQL select. ALL XY layers have the same problem when > zooming out, independant of their (ODBC) source. > I use the PEAR from version ms4w 2.1, it works fine, all db-related stuff > works fine. > > My ini file: > > [GENERAL] > > ; p.mapper version > pmapper = 3.0.0 > msVersion = 4.10.0 > pm_config_location = ovreis > ;pm_incphp_location = ../../pmapper2lib/incphp > ;pm_javascript_location = ../../pmapper2lib/javascript > mapFile = "/ms4w/apps/maplab-2.2.1/OVReis/OVReis.map" > pm_default_language = nl > defCharset = UTF-8 > map2unicode = 1 > allGroups = "My commaseparated layer list, I will not annoy you with it. > Actually defined in categories" > defGroups = Andes6, Andes5, Andes4, Andes3, Andes2, Andes1 > ;mutualDisableList = notused > layerAutoRefresh = 1 > limitResult = 500 > highlightColor = 0, 10, 80 > highlightSelected = on > autoZoom = nquery > zoomAll = search nquery > infoWin = window > alignQueryResults = 1 > pointBuffer = 1000 > catStyle = tree > grpStyle = tree > legStyle = attached > useCategories = 1 > scaleLayers = 1 > icoW = 18 > icoH = 14 > imgFormat = png > altImgFormat = jpeg > ;altImgFormatLayers = jpl_wms_global_mosaic, dem > sliderMax = max > sliderMin = 1000 > pdfres = 2 > dpiLevels = 150, 200, 300 > enableRightMousePan = 1 > > I also tried different combinations of layer grouping / catgories / styles > on/off, but that does'nt seem to make any difference > > Thanks, > Andre > > > |
From: Eduardo R. <jed...@ya...> - 2006-12-20 19:36:13
|
Hi, It's me again Demo is not working, I am trying to run pmapper_demo but I can not. It is very confusing for me find several files named pmapper_demo.map pmapper_demo_dd.map pmapper_demo_test.map and in different folders some in the config\test, config\default, another in the pmapper_demo folder. I don´t know which one is the good one and where it must be located. another question is Do I need to run a php before running the demo ? there is a startup_config.php , php_config.php, etc Help, I need somebody. Eduardo Ross __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Andre v. A. <ava...@re...> - 2006-12-20 14:29:08
|
Hi list, I have a problem with XY-layers in Pmapper 3.0 on ms4w (2.2.1). It shows on the map, but when I zoom out, it should respond to the MAXSCALE setting, above this scale the layer should switch off automatically like any other layers, but it doesn't. I have the same problem with Pmapper 1.53 on ms4w 1.5. In the legend, the layer is grayed when I zoom out, but enabling/disabling the layer still works despite of the zoom level. The problem is that the database is queried with a large amount of points. I tried setting the MAXFEATURES setting also, but it didn't work out either. The layer definition is: LAYER STATUS OFF NAME "Addresses" TYPE POINT UNITS METERS SIZEUNITS PIXELS MINSCALE 500 MAXSCALE 10000 #MAXFEATURES 1000 TOLERANCE 5 TOLERANCEUNITS PIXELS METADATA "DESCRIPTION" "Addresses" "RESULT_FIELDS" "Cityname, StreetName, nrVA, nrTM, Zip, RangeX, RangeY" "RESULT_HEADERS" "Plaatsnaam, Straatnaam, vanafNR, totenmetNR, PC6, X, Y" "XYLAYER_PROPERTIES" "odbc://'':''/localhost@DBAndre||fn_vw_TopoStreetRanges()@RangeX>0||RangeX,RangeY,0" END CLASS NAME "Addresses" TEMPLATE void STYLE SYMBOL 'default-circle' COLOR 255 0 0 SIZE 6 MINSIZE 1 MAXSIZE 100 END END END The XYLAYER_PROPERTIES is one line in the mapfile. Obviously the function returns the recordset like any standard SQL, this works the same as any SQL select. ALL XY layers have the same problem when zooming out, independant of their (ODBC) source. I use the PEAR from version ms4w 2.1, it works fine, all db-related stuff works fine. My ini file: [GENERAL] ; p.mapper version pmapper = 3.0.0 msVersion = 4.10.0 pm_config_location = ovreis ;pm_incphp_location = ../../pmapper2lib/incphp ;pm_javascript_location = ../../pmapper2lib/javascript mapFile = "/ms4w/apps/maplab-2.2.1/OVReis/OVReis.map" pm_default_language = nl defCharset = UTF-8 map2unicode = 1 allGroups = "My commaseparated layer list, I will not annoy you with it. Actually defined in categories" defGroups = Andes6, Andes5, Andes4, Andes3, Andes2, Andes1 ;mutualDisableList = notused layerAutoRefresh = 1 limitResult = 500 highlightColor = 0, 10, 80 highlightSelected = on autoZoom = nquery zoomAll = search nquery infoWin = window alignQueryResults = 1 pointBuffer = 1000 catStyle = tree grpStyle = tree legStyle = attached useCategories = 1 scaleLayers = 1 icoW = 18 icoH = 14 imgFormat = png altImgFormat = jpeg ;altImgFormatLayers = jpl_wms_global_mosaic, dem sliderMax = max sliderMin = 1000 pdfres = 2 dpiLevels = 150, 200, 300 enableRightMousePan = 1 I also tried different combinations of layer grouping / catgories / styles on/off, but that does'nt seem to make any difference Thanks, Andre -- View this message in context: http://www.nabble.com/XYLAYER-does-not-respond-to-MAXSCALE-setting-in-the-mapfile-tf2860083.html#a7990983 Sent from the pmapper users mailing list archive at Nabble.com. |
From: Armin B. <arm...@gm...> - 2006-12-20 13:08:26
|
and what was the reason why it was not working? armin -------- Original-Nachricht -------- Datum: Wed, 20 Dec 2006 03:26:10 +0000 Von: "stirner mathematic" <sti...@ho...> An: arm...@gm... Betreff: Re: [pmapper-users] Problem Ms4w v 2.2.1 > > Hi Armin... > > I get working pmapper 3.......thank Armin for you help. Thank > > Armin you know if is possible put any Name in the corner (i.e Low left > part) de my map.. > > I hope you help > > Thank Armin > > > >From: Armin Burger <arm...@gm...> > >Reply-To: arm...@gm... > >To: stirner mathematic <sti...@ho...> > >CC: pma...@li... > >Subject: Re: [pmapper-users] Problem Ms4w v 2.2.1 > >Date: Tue, 19 Dec 2006 09:57:23 +0100 > > > >As a general rule of the thumb: start with default values first and see > if > >it works before trying to customize everything. The new functions > >introduced for the various paths should normally make it not necessary to > >specify any absolute path at all, that's why they have been introduced. > > > >And I don't understand why you get a path like > > > >config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php > > > >if you specified just 'default' for pm_config_location. Try to comment it > >out completely (it takes 'default' as default value). > > > > > >stirner mathematic wrote: > >> > >>Thank Armin ... but I specify Default in my Config.ini...it is ok.. > >> > >>In "pm_javascript_location"... I have specify like > >>c:/ms4w/apache/htdocs/pmapper3/javascript it is ok? armin > >> > >>In "m_incphp_location" I have specify like > >>c:/ms4w/apache/htdocs/pmapper3/incphp it is ok? > >> > > > >no, but see above. And if you want to play with it, read first the > >documentation 'Configuration Options of the INI File'. > > > >armin > > _________________________________________________________________ > Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! > http://latino.msn.com/entretenimiento/ -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
From: stirner m. <sti...@ho...> - 2006-12-20 03:26:15
|
Hi Armin... I get working pmapper 3.......thank Armin for you help. Thank Armin you know if is possible put any Name in the corner (i.e Low left part) de my map.. I hope you help Thank Armin >From: Armin Burger <arm...@gm...> >Reply-To: arm...@gm... >To: stirner mathematic <sti...@ho...> >CC: pma...@li... >Subject: Re: [pmapper-users] Problem Ms4w v 2.2.1 >Date: Tue, 19 Dec 2006 09:57:23 +0100 > >As a general rule of the thumb: start with default values first and see if >it works before trying to customize everything. The new functions >introduced for the various paths should normally make it not necessary to >specify any absolute path at all, that's why they have been introduced. > >And I don't understand why you get a path like > >config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php > >if you specified just 'default' for pm_config_location. Try to comment it >out completely (it takes 'default' as default value). > > >stirner mathematic wrote: >> >>Thank Armin ... but I specify Default in my Config.ini...it is ok.. >> >>In "pm_javascript_location"... I have specify like >>c:/ms4w/apache/htdocs/pmapper3/javascript it is ok? armin >> >>In "m_incphp_location" I have specify like >>c:/ms4w/apache/htdocs/pmapper3/incphp it is ok? >> > >no, but see above. And if you want to play with it, read first the >documentation 'Configuration Options of the INI File'. > >armin _________________________________________________________________ Visita MSN Latino Entretenimiento: ¡música, cine, chismes, TV y más...! http://latino.msn.com/entretenimiento/ |
From: Armin B. <arm...@gm...> - 2006-12-19 09:02:48
|
As a general rule of the thumb: start with default values first and see if it works before trying to customize everything. The new functions introduced for the various paths should normally make it not necessary to specify any absolute path at all, that's why they have been introduced. And I don't understand why you get a path like config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php if you specified just 'default' for pm_config_location. Try to comment it out completely (it takes 'default' as default value). stirner mathematic wrote: > > Thank Armin ... but I specify Default in my Config.ini...it is ok.. > > In "pm_javascript_location"... I have specify like > c:/ms4w/apache/htdocs/pmapper3/javascript it is ok? armin > > In "m_incphp_location" I have specify like > c:/ms4w/apache/htdocs/pmapper3/incphp it is ok? > no, but see above. And if you want to play with it, read first the documentation 'Configuration Options of the INI File'. armin |
From: stirner m. <sti...@ho...> - 2006-12-19 01:05:52
|
Thank Armin ... but I specify Default in my Config.ini...it is ok.. In "pm_javascript_location"... I have specify like c:/ms4w/apache/htdocs/pmapper3/javascript it is ok? armin In "m_incphp_location" I have specify like c:/ms4w/apache/htdocs/pmapper3/incphp it is ok? Thank Armin >From: Armin Burger <arm...@gm...> >Reply-To: arm...@gm... >To: stirner mathematic <sti...@ho...> >CC: pma...@li... >Subject: Re: [pmapper-users] Problem Ms4w v 2.2.1 >Date: Mon, 18 Dec 2006 18:39:49 +0100 > >what did you specify as 'pm_config_location' in the config.ini? Should >be something like 'default'. > >armin > > >stirner mathematic wrote: >>Hi list >> >>I have pmapper 3 and ms4w v 2.2.1 ... I have any problem you know.. when >>load demo application to apper this message error >> >>Warning: >>include_once(config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php) >>[function.include-once]: failed to open stream: Invalid argument in >>C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 50 >> >> >> >> >>Warning: include_once() [function.include]: Failed opening >>'config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php' for >>inclusion (include_path='.;\ms4w\Apache\php\PEAR') in >>C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 50 >> >> >> >>Warning: Cannot modify header information - headers already sent by >>(output started at C:\ms4w\Apache\htdocs\pmapper3\map.phtml:50) in >>C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 53 >> >> >>I hope your help >> >>thank >> >>_________________________________________________________________ >>¿Cuánto vale tu auto? Tips para mantener tu carro. ¡De todo en MSN Latino >>Autos! http://latino.msn.com/autos/ >> >> >>------------------------------------------------------------------------- >>Take Surveys. Earn Cash. Influence the Future of IT >>Join SourceForge.net's Techsay panel and you'll get the chance to share >>your >>opinions on IT & business topics through brief surveys - and earn cash >>http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>_______________________________________________ >>pmapper-users mailing list >>pma...@li... >>https://lists.sourceforge.net/lists/listinfo/pmapper-users >> > _________________________________________________________________ ¿Cuánto vale tu auto? Tips para mantener tu carro. ¡De todo en MSN Latino Autos! http://latino.msn.com/autos/ |
From: Armin B. <arm...@gm...> - 2006-12-18 17:40:05
|
what did you specify as 'pm_config_location' in the config.ini? Should be something like 'default'. armin stirner mathematic wrote: > Hi list >=20 > I have pmapper 3 and ms4w v 2.2.1 ... I have any problem you know.. whe= n=20 > load demo application to apper this message error >=20 > Warning:=20 > include_once(config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_c= onfig.php)=20 > [function.include-once]: failed to open stream: Invalid argument in=20 > C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 50 >=20 >=20 >=20 >=20 > Warning: include_once() [function.include]: Failed opening=20 > 'config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php' f= or=20 > inclusion (include_path=3D'.;\ms4w\Apache\php\PEAR') in=20 > C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 50 >=20 >=20 >=20 > Warning: Cannot modify header information - headers already sent by (ou= tput=20 > started at C:\ms4w\Apache\htdocs\pmapper3\map.phtml:50) in=20 > C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 53 >=20 >=20 > I hope your help >=20 > thank >=20 > _________________________________________________________________ > =BFCu=E1nto vale tu auto? Tips para mantener tu carro. =A1De todo en MS= N Latino=20 > Autos! http://latino.msn.com/autos/ >=20 >=20 > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share= your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users >=20 |
From: stirner m. <sti...@ho...> - 2006-12-16 15:30:42
|
Hi list I have pmapper 3 and ms4w v 2.2.1 ... I have any problem you know.. when load demo application to apper this message error Warning: include_once(config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php) [function.include-once]: failed to open stream: Invalid argument in C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 50 Warning: include_once() [function.include]: Failed opening 'config/c:/ms4w/apache/htdocs/pmapper3/config/default/php_config.php' for inclusion (include_path='.;\ms4w\Apache\php\PEAR') in C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 50 Warning: Cannot modify header information - headers already sent by (output started at C:\ms4w\Apache\htdocs\pmapper3\map.phtml:50) in C:\ms4w\Apache\htdocs\pmapper3\map.phtml on line 53 I hope your help thank _________________________________________________________________ ¿Cuánto vale tu auto? Tips para mantener tu carro. ¡De todo en MSN Latino Autos! http://latino.msn.com/autos/ |
From: Armin B. <arm...@gm...> - 2006-12-16 12:45:23
|
http://www.mail-archive.com/search?l=pmapper-users%40lists.sourceforge.net&q=4.10.0 Eduardo Ross wrote: > Hi, > > This is my first time using p.mapper but I have a few > months using mapscript. > > I have a problem using MS4W 2.2 and p.mapper 3 > > I have: > MapServer version 4.10.0 > Apache 2.2.3 > PHP 5.1.6 > > When I click on the Examples how to start the > application from hyperlinks I receive: > > ************** > Warning: dl() [function.dl]: Unable to load dynamic > library '/ms4w/Apache/php/ext/php_mapscript_410.dll' > -in D:\ms4w\Apache\htdocs\pmapper3\incphp\globals.php > on line 49 > > Fatal error: Call to undefined function ms_newMapObj() > in D:\ms4w\Apache\htdocs\pmapper3\incphp\globals.php > on line 59 > ************** > > this is the code involved: > 47 $msVersion = $_SESSION['msVersion']; > 48 if (!extension_loaded('MapScript')) { > 49 dl("php_mapscript_$msVersion." . > PHP_SHLIB_SUFFIX); > 50 } > > > I believe this is important: > message say php_mapscript_410.dll > I have MapServer version 4.10.0 and this is the dll > file name php_mapscript_4.10.0.dll > > How is p.mapper receiving 410 value if mapserver is > 4.10.0 ? > > Any ideas how to fix this ? > > Thanks > > __________________________________________________ > Do You Yahoo!? > Tired of spam? Yahoo! Mail has the best spam protection around > http://mail.yahoo.com > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > pmapper-users mailing list > pma...@li... > https://lists.sourceforge.net/lists/listinfo/pmapper-users > |
From: Eduardo R. <jed...@ya...> - 2006-12-16 00:40:49
|
Hi, This is my first time using p.mapper but I have a few months using mapscript. I have a problem using MS4W 2.2 and p.mapper 3 I have: MapServer version 4.10.0 Apache 2.2.3 PHP 5.1.6 When I click on the Examples how to start the application from hyperlinks I receive: ************** Warning: dl() [function.dl]: Unable to load dynamic library '/ms4w/Apache/php/ext/php_mapscript_410.dll' -in D:\ms4w\Apache\htdocs\pmapper3\incphp\globals.php on line 49 Fatal error: Call to undefined function ms_newMapObj() in D:\ms4w\Apache\htdocs\pmapper3\incphp\globals.php on line 59 ************** this is the code involved: 47 $msVersion = $_SESSION['msVersion']; 48 if (!extension_loaded('MapScript')) { 49 dl("php_mapscript_$msVersion." . PHP_SHLIB_SUFFIX); 50 } I believe this is important: message say php_mapscript_410.dll I have MapServer version 4.10.0 and this is the dll file name php_mapscript_4.10.0.dll How is p.mapper receiving 410 value if mapserver is 4.10.0 ? Any ideas how to fix this ? Thanks __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com |
From: Armin B. <arm...@gm...> - 2006-12-15 18:06:35
|
I have something sort of prototype using the PEAR spreadsheet function to create an Excel v 5 format. The crux is mainly that 1) it does not support Unicode 2) I have not understood why some characters like single or double quotes in the JSON string from the result cache cause problems So I stopped it for the moment, but I might add it later on. An older version of the script is eg. at http://svn.pmapper.net/trac/browser/pmapper/trunk/incphp/modules/export if you want to have a look at. Saving the result window as HTML will probably not work because the result is formatted and written via Javascript, but select all and paste it in Excel should work. armin James Card wrote: > On Fri, 15 Dec 2006 04:23:47 -0800, Chris Beaart <be...@xs...> wrote: > >> I would like to export a selection to excel. Is this possible? How do I >> implement the code? > > Since pMapper already produces a report with the selection details in a > table it would be easy to add an option in the report code to send the > same data back to the browser with a content-type header of > "application/vnd.ms-excel". This would then be treated on the client side > as an Excel file. > > The easiest solution for occasional use by users you can train is to > simply save the selection report that pMapper generates as an HTML file, > and then open that file in Excel. > |
From: James C. <Jam...@ca...> - 2006-12-15 17:13:53
|
On Fri, 15 Dec 2006 04:23:47 -0800, Chris Beaart <be...@xs...> wrote: > I would like to export a selection to excel. Is this possible? How do I > implement the code? Since pMapper already produces a report with the selection details in a table it would be easy to add an option in the report code to send the same data back to the browser with a content-type header of "application/vnd.ms-excel". This would then be treated on the client side as an Excel file. The easiest solution for occasional use by users you can train is to simply save the selection report that pMapper generates as an HTML file, and then open that file in Excel. -- James Card California CAD Solutions, Inc. 209 578-5580 |
From: Chris B. <be...@xs...> - 2006-12-15 12:24:01
|
I would like to export a selection to excel. Is this possible? How do I implement the code? Thanks, Chris Beaart |
From: Dejan G. <dej...@pu...> - 2006-12-15 07:09:51
|
The problem dissapeared just by replacing pmapper-3.0.0-beta1 with the newest stable pmapper-3.0.0. To be sure, I have tried with same config/map file in pmapper-3.0.0-beta1 and thre probolem was reproduced. regards, dejan > -----Original Message----- > From: Dejan Gambin [mailto:dej...@pu...] > Sent: Thursday, December 14, 2006 9:38 PM > To: 'pma...@li...' > Subject: RE: [pmapper-users] Problem with PHP 5.2.0/Apache > 2.2.3 on Windows > > I'll try with default map file and get back to you...there > are no php errors except the one I mentioned. I shall see if > some JavaScript error occurs.. > > dejan > > > -----Original Message----- > > From: Armin Burger [mailto:arm...@gm...] > > Sent: Thursday, December 14, 2006 7:19 PM > > To: Gambin Dejan > > Cc: pma...@li... > > Subject: Re: [pmapper-users] Problem with PHP 5.2.0/Apache > > 2.2.3 on Windows > > > > Dejan > > > > a few others have a similar error but I never succeed to get it, > > neither on Windows nor Linux, and testing 3 completely different > > datasets and 3 different projections. > > > > I was thinking it could be related to the ms4w package but > also with > > the php.ini from that everything worked fine for me. > > > > Did you try if is working for you when using the default > map file from > > p.mapper and the test data from SF? > > > > Without more detailed information like map file, error log > of PHP and > > Javascript errors I cannot say so much. > > > > > > Gambin Dejan wrote: > > > Hi, > > > > > > I am trying to use pmapper with PHP 5.2.0 and Apache 2.2.3 > > under MS4W > > > v2.2.1. Since I was using some older PHP/Apache versions, I > > was hoping > > > the MS4W will make the things easier but... > > > > > > After configuring all the stuff, I have tried opening the > > map (pmapper > > > 3.0.0-beta1) and got the error: > > > > > > PHP Fatal error: zoomPoint failed : incorrect parameters in > > > C:\Projekti\GIS\WebGIS\pmapper-3.0.0-beta1\incphp\map.php > > on line 510 > > > > > > The line is: > > > > > > $this->map->zoompoint($this->zoom_factor, $xy_pix, > $this->mapwidth, > > > $this->mapheight, $this->geoext0, $this->maxextent); > > > > > > ...I have realised that mapwidth and mapheight are not defined > > > (error_log displays NaN). > > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > > > what does that mean? "error_log" is the log of PHP, but NaN is > > something I just know from JS...? what do you get if you log the > > '$this->mapwidth' > > with either error_log($this->mapwidth) or > printDebug($this->mapwidth) > > before that function is applied? > > > > > > Going further, it seems that > > > $_SESSION["mapwidth"] is undefined even if defined in > init.php after > > > line 42 ($_SESSION["mapwidth"] = $mapW;). > > > > > > > so you don't have the mapwidth in you actual session? or is > it empty? > > A helpful tool is the 'readsession.php' from the 'util' > directory of > > p.mapper to see the session variables better readable. > > > > > Did I miss something? > > > > > > thanks > > > > > > regards, dejan > > > > > > |
From: Dejan G. <dej...@pu...> - 2006-12-14 20:38:05
|
I'll try with default map file and get back to you...there are no php errors except the one I mentioned. I shall see if some JavaScript error occurs.. dejan > -----Original Message----- > From: Armin Burger [mailto:arm...@gm...] > Sent: Thursday, December 14, 2006 7:19 PM > To: Gambin Dejan > Cc: pma...@li... > Subject: Re: [pmapper-users] Problem with PHP 5.2.0/Apache > 2.2.3 on Windows > > Dejan > > a few others have a similar error but I never succeed to get > it, neither on Windows nor Linux, and testing 3 completely > different datasets and 3 different projections. > > I was thinking it could be related to the ms4w package but > also with the php.ini from that everything worked fine for me. > > Did you try if is working for you when using the default map > file from p.mapper and the test data from SF? > > Without more detailed information like map file, error log of > PHP and Javascript errors I cannot say so much. > > > Gambin Dejan wrote: > > Hi, > > > > I am trying to use pmapper with PHP 5.2.0 and Apache 2.2.3 > under MS4W > > v2.2.1. Since I was using some older PHP/Apache versions, I > was hoping > > the MS4W will make the things easier but... > > > > After configuring all the stuff, I have tried opening the > map (pmapper > > 3.0.0-beta1) and got the error: > > > > PHP Fatal error: zoomPoint failed : incorrect parameters in > > C:\Projekti\GIS\WebGIS\pmapper-3.0.0-beta1\incphp\map.php > on line 510 > > > > The line is: > > > > $this->map->zoompoint($this->zoom_factor, $xy_pix, $this->mapwidth, > > $this->mapheight, $this->geoext0, $this->maxextent); > > > > ...I have realised that mapwidth and mapheight are not defined > > (error_log displays NaN). > ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ > > what does that mean? "error_log" is the log of PHP, but NaN > is something > I just know from JS...? what do you get if you log the > '$this->mapwidth' > with either error_log($this->mapwidth) or printDebug($this->mapwidth) > before that function is applied? > > > Going further, it seems that > > $_SESSION["mapwidth"] is undefined even if defined in init.php after > > line 42 ($_SESSION["mapwidth"] = $mapW;). > > > > so you don't have the mapwidth in you actual session? or is > it empty? A > helpful tool is the 'readsession.php' from the 'util' directory of > p.mapper to see the session variables better readable. > > > Did I miss something? > > > > thanks > > > > regards, dejan > > > |
From: Armin B. <arm...@gm...> - 2006-12-14 18:19:19
|
Dejan a few others have a similar error but I never succeed to get it, neither on Windows nor Linux, and testing 3 completely different datasets and 3 different projections. I was thinking it could be related to the ms4w package but also with the php.ini from that everything worked fine for me. Did you try if is working for you when using the default map file from p.mapper and the test data from SF? Without more detailed information like map file, error log of PHP and Javascript errors I cannot say so much. Gambin Dejan wrote: > Hi, > > I am trying to use pmapper with PHP 5.2.0 and Apache 2.2.3 under MS4W > v2.2.1. Since I was using some older PHP/Apache versions, I was hoping > the MS4W will make the things easier but... > > After configuring all the stuff, I have tried opening the map (pmapper > 3.0.0-beta1) and got the error: > > PHP Fatal error: zoomPoint failed : incorrect parameters in > C:\Projekti\GIS\WebGIS\pmapper-3.0.0-beta1\incphp\map.php on line 510 > > The line is: > > $this->map->zoompoint($this->zoom_factor, $xy_pix, $this->mapwidth, > $this->mapheight, $this->geoext0, $this->maxextent); > > ...I have realised that mapwidth and mapheight are not defined > (error_log displays NaN). ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ what does that mean? "error_log" is the log of PHP, but NaN is something I just know from JS...? what do you get if you log the '$this->mapwidth' with either error_log($this->mapwidth) or printDebug($this->mapwidth) before that function is applied? Going further, it seems that > $_SESSION["mapwidth"] is undefined even if defined in init.php after > line 42 ($_SESSION["mapwidth"] = $mapW;). > so you don't have the mapwidth in you actual session? or is it empty? A helpful tool is the 'readsession.php' from the 'util' directory of p.mapper to see the session variables better readable. > Did I miss something? > > thanks > > regards, dejan > |
From: Gambin D. <Dej...@pu...> - 2006-12-14 13:46:44
|
Hi, I am trying to use pmapper with PHP 5.2.0 and Apache 2.2.3 under MS4W v2.2.1. Since I was using some older PHP/Apache versions, I was hoping the MS4W will make the things easier but... After configuring all the stuff, I have tried opening the map (pmapper 3.0.0-beta1) and got the error: PHP Fatal error: zoomPoint failed : incorrect parameters in C:\Projekti\GIS\WebGIS\pmapper-3.0.0-beta1\incphp\map.php on line 510 The line is: $this->map->zoompoint($this->zoom_factor, $xy_pix, $this->mapwidth, $this->mapheight, $this->geoext0, $this->maxextent); ...I have realised that mapwidth and mapheight are not defined (error_log displays NaN). Going further, it seems that $_SESSION["mapwidth"] is undefined even if defined in init.php after line 42 ($_SESSION["mapwidth"] =3D $mapW;). Did I miss something? thanks regards, dejan |