[Geomoose-users] Identify tool

Eli Adam eadam at co.lincoln.or.us
Wed Nov 14 10:07:55 PST 2012


On Wed, Nov 14, 2012 at 2:50 AM, moff mofire <githiro at gmail.com> wrote:

> Thank you very much Anderson for your reply. Please find attached my
> mapfile and identify.html.
>


Moff,

Does you layer display properly?

I'm not sure that you need "TEMPLATE O" in your map file.

Sometimes PostGIS connections can work better more like (copied from,
http://www.mapserver.org/input/vector/postgis.html):

DATA "the_geom from the_database using unique gid using srid=4326"


Eli



>  Also this how i have called the layer on mapbook;
> ...........
> <map-source name="county" type="mapserver">
>         <file>./demo/parcels/parcels.map</file>
>         <layer name="county" status="on"/>
>         <param name="FORMAT" value="image/png;bits=8"/>
>     </map-source>
>
> .........
>
> <catalog>
>
>         <group title="Base Layers">
>
>
>             <layer title="County" src="county/county"  legend="true"
> tip="County layer" show-legend="true" fade="false" unfade="false"/>
>
>
>
>         </group>
>
>
>     </catalog>
>
>
>
> On Wed, Nov 14, 2012 at 12:42 AM, Anderson, Dean <
> anderson.dean at co.polk.or.us> wrote:
>
>> Please send the mapfile for your identify as an attachment and where you
>> call the mapfile from your mapbook.xml.
>>
>> Thanks
>>
>> Dean
>>
>>
>>
>>
>> On Tue, Nov 13, 2012 at 1:01 PM, moff mofire <githiro at gmail.com> wrote:
>>
>>>  Please someone help me solve this problem !
>>>
>>> Error Calling the server:
>>> TypeError: Application.getMapSource(
>>> layerName) is undefined
>>>
>>> This error appears when i try to use the identify or select tool on a
>>> postgis layer.
>>> I would appreciate any assistance.
>>>
>>> _______________________________________________
>>> Geomoose-users mailing list
>>> Geomoose-users at lists.osgeo.org
>>> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>>>
>>>
>>
>>
>> --
>> Dean R Anderson
>> IT Director
>> Polk County
>>
>>
>
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/geomoose-users/attachments/20121114/515b63ff/attachment.html>


More information about the Geomoose-users mailing list