Here below my configuration: globals.php-------------------------- (.........................) /** * INITIALIZE MAP */ $PM_MAP_FILE = $_SESSION['PM_MAP_FILE']; $map = ms_newMapObj($PM_MAP_FILE); //$mapTmpFile = $_SESSION['web_imagepath'] . session_id() . ".map"; //$map->save($mapTmpFile); $map->setExtent(1988372,1400000,6411627,5400000); (.........................) globals.php--------------------------
mapfile (pmapper_demo.map)---------------------------- MAP #EXTENT 1988372 1400000 6411627 5400000 <---commented UNITS meters #EXTENT -15 30 40 70 #UNITS dd SIZE 600 500 SHAPEPATH "../../../../pmapper-demodata\demodata" SYMBOLSET "../common/symbols/symbols-pmapper.sym" FONTSET "../common/fonts/msfontset.txt" RESOLUTION 96 IMAGETYPE png INTERLACE OFF #CONFIG "PROJ_LIB" "C:/proj/nad/" PROJECTION # ETRS-LAEA #"init=epsg:3035" "+proj=laea +lat_0=52 +lon_0=10 +x_0=4321000 +y_0=3210000 +ellps=GRS80 +units=m +no_defs no_defs" END (.........................) mapfile (pmapper_demo.map)---------------------------- and select tool don't work! Try it you the same way and let me know, please! >Da: traf...@sirap.fr >Data: 24/09/2010 14.04 >A: <pmapper-users@lists.sourceforge.net> >Ogg: Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE > > I use "$map->setExtent(....)" in globals.php and I've no problems. But >I keep EXTENT in mapfile. > > >After reading my code, I call setExtent at the end of globals.php. > > > >Le 24/09/2010 12:44, s_lar...@libero.it a écrit : >> With version dev it works! >> For my needs, I customize the file globals.php in order to draw the various >> layers. >> Moreover, I also configure the extents of the map with setExtent (.) >> I noticed that with this change (setExtent ()) select tool does not work, the >> same applies to the version pmapper-dev. >> >> Try setting the following string in globals.php immediately after the >> definition of $ map: >> >> $map = ms_newMapObj($PM_MAP_FILE); >> $map-> setExtent (1988372,1400000,6411627,5400000); >> >> and then comment statement EXTENT in map file. >> >> >>> Da: traf...@sirap.fr >>> Data: 24/09/2010 11.01 >>> A:<pmapper-users@lists.sourceforge.net> >>> Ogg: Re: [pmapper-users] Problem with"Select Tool" and MAXSCALE >>> >>> Could you try this pmapper version : >>> http://www.pmapper.net/dl/pmapper-dev.zip ? It is not a stable version, >>> but more recent than yours. Maybe it could solve the problem. >>> >>> Le 24/09/2010 10:51, s_lar...@libero.it a écrit : >>>> In log files no error, >>>> Mapserver version is 5.2.1 (ms4w), >>>> pmapper version is 4 dowloaded from http://sourceforge. >>>> net/projects/pmapper/files/ >>>> >>>> >>>> >>>> >>>>> Da: traf...@sirap.fr >>>>> Data: 24/09/2010 9.28 >>>>> A:<pmapper-users@lists.sourceforge.net> >>>>> Ogg: Re: [pmapper-users] Problem with"Select Tool" and MAXSCALE >>>>> >>>>> Really I don't know... Because for me it works well with pmapper trunk >>>>> and demodata. >>>>> >>>>> Nothing in the log files? Are you using an old mapserver version? Are >>>>> you using the offical pmapper 4 version, or the last dev version >>>>> (available here : http://www.pmapper.net/dl/pmapper-dev.zip or via SVN) ? >>>>> >>>>> Le 23/09/2010 19:49, s_lar...@libero.it a écrit : >>>>>> I set in the mapfile MAXSCALEDENOM to 1000000 >>>>>> and select tool does not work when the map has a scale of less than 1: >>>>>> 10000000! >>>>>> >>>>>>> ----Messaggio originale---- >>>>>>> Da: traf...@sirap.fr >>>>>>> Data: 23/09/2010 13.38 >>>>>>> A:<pmapper-users@lists.sourceforge.net> >>>>>>> Ogg: Re: [pmapper-users] Problem with"Select Tool" and >> MAXSCALE >>>>>>> >>>>>>> >>>>>>>> Can you tell me the maxscale you specified in the mapfile and the >> scale >>>>>>>> just before you click on the map please ? >>>>>>> Le 23/09/2010 13:05, Salvatore Larosa a écrit : >>>>>>>> Can you tell me the maxscale you specified in the mapfile and the scale >>>>>>>>> just before you click on the map please ? >> ------------------------------------------------------------------------------ >>>>>>> Start uncovering the many advantages of virtual appliances >>>>>>> and start using them to simplify application deployment and >>>>>>> accelerate your shift to cloud computing. >>>>>>> http://p.sf.net/sfu/novell-sfdev2dev >>>>>>> _______________________________________________ >>>>>>> pmapper-users mailing list >>>>>>> pmapper-users@lists.sourceforge.net >>>>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>>>>>> >>>>>> >> ------------------------------------------------------------------------------ >>>>>> Nokia and AT&T present the 2010 Calling All Innovators-North America >>>> contest >>>>>> Create new apps& games for the Nokia N8 for consumers in U.S. and >> Canada >>>>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >>>> marketing >>>>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>>>>> http://p.sf.net/sfu/nokia-dev2dev >>>>>> _______________________________________________ >>>>>> pmapper-users mailing list >>>>>> pmapper-users@lists.sourceforge.net >>>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >> ------------------------------------------------------------------------------ >>>>> Nokia and AT&T present the 2010 Calling All Innovators-North America >> contest >>>>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >>>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >> marketing >>>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>>>> http://p.sf.net/sfu/nokia-dev2dev >>>>> _______________________________________________ >>>>> pmapper-users mailing list >>>>> pmapper-users@lists.sourceforge.net >>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>>>> >>>> >>>> >> ------------------------------------------------------------------------------ >>>> Nokia and AT&T present the 2010 Calling All Innovators-North America >> contest >>>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >>>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in >> marketing >>>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>>> http://p.sf.net/sfu/nokia-dev2dev >>>> _______________________________________________ >>>> pmapper-users mailing list >>>> pmapper-users@lists.sourceforge.net >>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>> ------------------------------------------------------------------------------ >>> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >>> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >>> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >>> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >>> http://p.sf.net/sfu/nokia-dev2dev >>> _______________________________________________ >>> pmapper-users mailing list >>> pmapper-users@lists.sourceforge.net >>> https://lists.sourceforge.net/lists/listinfo/pmapper-users >>> >> >> >> ------------------------------------------------------------------------------ >> Nokia and AT&T present the 2010 Calling All Innovators-North America contest >> Create new apps& games for the Nokia N8 for consumers in U.S. and Canada >> $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >> Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >> http://p.sf.net/sfu/nokia-dev2dev >> _______________________________________________ >> pmapper-users mailing list >> pmapper-users@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/pmapper-users > >------------------------------------------------------------------------------ >Nokia and AT&T present the 2010 Calling All Innovators-North America contest >Create new apps & games for the Nokia N8 for consumers in U.S. and Canada >$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing >Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store >http://p.sf.net/sfu/nokia-dev2dev >_______________________________________________ >pmapper-users mailing list >pmapper-users@lists.sourceforge.net >https://lists.sourceforge.net/lists/listinfo/pmapper-users > ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ pmapper-users mailing list pmapper-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/pmapper-users