Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE
Brought to you by:
arminburger
From: Salvatore L. <S_L...@li...> - 2010-09-24 17:56:41
|
Wow, I solved it! Just after the call to setExtent i add map->setSize(xxx,xxx) and all works fine! Thank you very much for your hints!!! >Da: tr...@si... >Data: 24/09/2010 14.44 >A: <pma...@li...> >Ogg: Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE > > I've forgottent : when I call map->setExtent, I also set map width and >height (just before extent) : map->set('width', xxx) and >map->set('height', xxx) > >Le 24/09/2010 12:44, S_L...@li... 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: tr...@si... >>> Data: 24/09/2010 11.01 >>> A:<pma...@li...> >>> 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_L...@li... 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: tr...@si... >>>>> Data: 24/09/2010 9.28 >>>>> A:<pma...@li...> >>>>> 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_L...@li... 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: tr...@si... >>>>>>> Data: 23/09/2010 13.38 >>>>>>> A:<pma...@li...> >>>>>>> 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 >>>>>>> pma...@li... >>>>>>> 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 >>>>>> pma...@li... >>>>>> 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 >>>>> pma...@li... >>>>> 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 >>>> pma...@li... >>>> 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 >>> pma...@li... >>> 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 >> pma...@li... >> 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 >pma...@li... >https://lists.sourceforge.net/lists/listinfo/pmapper-users > |