I guess you do not have any PROJECTION defined for your PG layer.

try modifying this line to:

if ($qLayerProjStr) $newResLayer->setProjection($qLayerProjStr);

It might work without projection, though I'm not really sure. Since 
several years I never define any layer without projection definition...

armin

On 03/03/2010 22:02, Nahum Castro wrote:
> The result window shows all data but on the select button. Shows all data
> about the selected features but stops drawing
> [03-Mar-2010 14:53:16] PHP Fatal error:  [MapServer Error]:
> msProcessProjection(): projection not named
>   in /srv/www/htdocs/pmapper-stable/pmapper/incphp/map/map.php on line 791
>
> php 5.3.1, postgis 1.5, pmapper svn stable, mapserver 5.6.1
>
> all software x86_64 on Suse 11.2
>
> Same behavior on CentOS 5.4 x86_64
>
> Thanks.
>
>
> 2010/3/3 Armin Burger<armin.bur...@gmail.com>
>
>> I made some quick patches for 3.2.x and committed them to the SVN
>> latest-stable-v3. With a quick test now all query functions worked for me.
>>
>> See here which files to replace:
>>    http://svn.pmapper.net/trac/changeset/998
>>
>> Just download these files on the link at the bottom "Download in other
>> formats: Original Format" and replace yours (maybe make a copy of the
>> old ones before).
>>
>> Please try it and report back how it works or if any other
>> incompatibility was introduced (in this case include error logs and
>> descriptions).
>>
>> Armin
>>
>>
>> On 03/03/2010 20:11, Moore, James wrote:
>>> Armin,
>>> What if you are using the 3.2.1 release and you get this behaviour?
>>>
>>> -----Original Message-----
>>> From: Armin Burger [mailto:armin.bur...@gmail.com]
>>> Sent: Tuesday, March 02, 2010 12:19 AM
>>> To: Giorgio Plazzotta
>>> Cc: pmapper-users@lists.sourceforge.net
>>> Subject: Re: [pmapper-users] fighting with Postgis
>>>
>>> Giorgio
>>>
>>> this has been discussed here 2 weeks ago. It only happens with
>>> Mapserver 5.6&   Postgis since they completely changed the query
>>> mechanism for Postgis layers, see the patches listed here
>>>
>>> http://svn.pmapper.net/trac/changeset/952
>>>
>>> you need to replace all these files in your installation with the ones
>>> mentioned if you use pmapper 4. As soon as some other patches are done
>>> for some Javascript issues there should also be a bug fix release
>>> soon.
>>>
>>> armin
>>>
>>> On Tue, Mar 2, 2010 at 2:13 AM, Giorgio Plazzotta
>>> <plazzo...@tiscalinet.it>   wrote:
>>>> Hi all
>>>> my data come from an ESRI geodatabase. I import them into POSTGIS using
>> SPIT. Unfortunately most column names are in capitals letters. Postgis
>> doesnt like it but i cannot change them all. I need to create joins with
>> lookup tables. Though the capitals field names are not very good for PostGIS
>> i succeded in activating a JOIN between the postgis table and another
>> postgresql table.
>>>>
>>>> Now I have another quite odd problem. When i use the Identify tool I
>> dont get the results that i should. when i select some polygons or only one
>> with the identify tool, in the table i get the data of other polygons.
>> Pratically the system extracts always the first records in the table even if
>> i was graphically extracting others.
>>>> this happens also if i renounce to the JOIN and i work just on a normal
>> DATA "the_geom FROM  table" query
>>>>
>>>> If i activate the original shapefile  everything works perfectly
>>>> any idea?
>>>>
>>>> thanx in advance
>>>>
>>>> Giorgio
>>>>
>> ------------------------------------------------------------------------------
>>>> Download Intel&#174; Parallel Studio Eval
>>>> Try the new software tools for yourself. Speed compiling, find bugs
>>>> proactively, and fine-tune applications for parallel performance.
>>>> See why Intel Parallel Studio got high marks during beta.
>>>> http://p.sf.net/sfu/intel-sw-dev
>>>> _______________________________________________
>>>> pmapper-users mailing list
>>>> pmapper-users@lists.sourceforge.net
>>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>>
>>>
>>>
>> ------------------------------------------------------------------------------
>>> Download Intel&#174; Parallel Studio Eval
>>> Try the new software tools for yourself. Speed compiling, find bugs
>>> proactively, and fine-tune applications for parallel performance.
>>> See why Intel Parallel Studio got high marks during beta.
>>> http://p.sf.net/sfu/intel-sw-dev
>>> _______________________________________________
>>> pmapper-users mailing list
>>> pmapper-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>>
>>>
>>
>>
>>
>> ------------------------------------------------------------------------------
>> Download Intel&#174; Parallel Studio Eval
>> Try the new software tools for yourself. Speed compiling, find bugs
>> proactively, and fine-tune applications for parallel performance.
>> See why Intel Parallel Studio got high marks during beta.
>> http://p.sf.net/sfu/intel-sw-dev
>> _______________________________________________
>> pmapper-users mailing list
>> pmapper-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/pmapper-users
>>
>
>
>

------------------------------------------------------------------------------
Download Intel&#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
pmapper-users mailing list
pmapper-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/pmapper-users

Reply via email to