Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-26 Thread Armin Burger
I modified now query.php on the SVN so that the seextent and setmapsize is not only applied for point queries (as it was until now) but also for rectangle queries ("select"). see http://svn.pmapper.net/trac/changeset/1042 So far I never noticed any problems with the rectangle queries and could

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread Salvatore Larosa
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: traf...@sirap.fr >Data: 24/09/2010 14.44 >A: >Ogg: Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE > > I&

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread Thomas RAFFIN
the following string in globals.php immediately after the > definition of $ map: > > $map = ms_newMapObj($PM_MAP_FILE); > $map-> setExtent (1988372,140,6411627,540); > > and then comment statement EXTENT in map file. > > >> Da: traf...@sirap.fr >>

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread s_lar...@libero.it
>> definition of $ map: >> >> $map = ms_newMapObj($PM_MAP_FILE); >> $map-> setExtent (1988372,140,6411627,540); >> >> and then comment statement EXTENT in map file. >> >> >>> Da: traf...@sirap.fr >>> Data: 24/09/2010 11.

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread Thomas RAFFIN
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/ >>> >>

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread s_lar...@libero.it
A: >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

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread Thomas RAFFIN
; pmapper version is 4 dowloaded from http://sourceforge. > net/projects/pmapper/files/ > > > > >> Da: traf...@sirap.fr >> Data: 24/09/2010 9.28 >> A: >> Ogg: Re: [pmapper-users] Problem with"Select Tool" and MAXSCALE >> >> Really

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread s_lar...@libero.it
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: >Ogg: Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE > > Re

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-24 Thread Thomas RAFFIN
10 13.38 >> A: >> 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

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-23 Thread s_lar...@libero.it
I set in the mapfile MAXSCALEDENOM to 100 and select tool does not work when the map has a scale of less than 1: 1000! >Messaggio originale >Da: traf...@sirap.fr >Data: 23/09/2010 13.38 >A: >Ogg: Re: [pmapper-users] Problem with "Select Tool" and MAXSCA

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-23 Thread Thomas RAFFIN
> 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 ?

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-23 Thread Salvatore Larosa
I tried with the version downloaded from the Sourceforge repository. I used the same parameters as you for layer "cities1eu" and only the select tool don't work for me! Thomas RAFFIN wrote: > > Hi, > > With pmapper 4 trunk version it works for me. > If I use "MAXSCALEDENOM 100" for

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-23 Thread Thomas RAFFIN
Hi, With pmapper 4 trunk version it works for me. If I use "MAXSCALEDENOM 100" for layer "cities1eu" I don't see and can't query the layer at 1 000 000 or more. At 500 000 I see the layer, and the tools "identify", "select" and "tool tip" work. Can you tell me the maxscale you speci

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-22 Thread Salvatore Larosa
Hi, I tested my problem with the original version of pmapper 4, but without success. You can verify it using data in folder "demodata", setting in the layer cities the keyword MAXSCALEDENOM. Let me know. Thanks Salvatore Thomas RAFFIN wrote: > > Hi, > > I think it is the normal behavior

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-22 Thread Salvatore Larosa
Thank you Thomas, but I still have not solved. I noticed that the layers that have been set a maxscale view, are not queryable with the select tool. tools, identify and autoidentify, work properly. Salvatore Thomas RAFFIN wrote: > > Hi, > > I think it is the normal behavior : if you declare

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-22 Thread Thomas RAFFIN
Hi, I think it is the normal behavior : if you declare your layer not queryable at 5, it is not queryable at 5. Maybe the scale is approximative, so you should set maxscale / maxscaledenom at 50010 for instance. Thomas Le 21/09/2010 23:29, Salvatore Larosa a écrit : > Thank you for

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-21 Thread Salvatore Larosa
Thank you for reply! I knew it was deprecated maxscale, my problem is not resolved by replacing mascaledenom!! My layer is not queryable if mapscale keyword is declared. I would not know what it can depend on. If I do not set maxscaledenom everything works. Thomas RAFFIN wrote: > > Hi, >

Re: [pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-20 Thread Thomas RAFFIN
Hi, First of all the MAXSCALE keywords will be deprecated in future mapserver version. Instead use MAXSCALEDENOM if you are using mapserver 5. This parameter indicates that your layer is not drawable or queryable if map scale denominator is more than 50001. It is not only for display but als

[pmapper-users] Problem with "Select Tool" and MAXSCALE

2010-09-19 Thread Salvatore Larosa
Hi at all, Hi Armin I'm working on a project and I'm using pmapper 4. I realized that the tool selection does not work if the layer has a maxscale of display, whereas if the keyword MAXSCALE comment, in my mapfile everything works. PostGIS layer is of type points and MAXSCALE = 50001 How can I