[Geomoose-users] Identify a Layer

Zery zery.sp at gmail.com
Wed Mar 21 12:05:04 EDT 2012


  Bob,

On 3/21/2012 11:40 PM, Bistrais, Bob wrote:
> Without seeing your code, of course, it's anyone's guess. But here's a
> few things to look for:
>
> The .map file for any layer you want to Identify should have a line in
> the metadata section:
> "identify_record" "select_mylayer.html"	--substitute your layer name for
> mylayer
>
Yes, I'm sorry for that, this is the metadata section of my mapfile:
METADATA
     'identify_record'    'identify_parcel.html'
                   'select_record'    'select_parcel.html'
             'select_header' 'select_header_parcels.html'
             'popups' 'parcels_popup.html'

             'itemquery'    'parcels_itemquery.html'
         #    'itemquery-filteritem' 'OWNER_NAME'
             'itemquery-filter'    '/.*[qstring].*/i'
             'qstring_validation_pattern' '.'

             # Feature reports are stored in the conf/feature_report 
directory.
             'feature_report' 'parcel.xml'
         END

I don't see any information pointing to my attribute file, so I just 
fresh copy the section.

> You should also name the fields you want to identify, also in the
> metadata section:
>
> "fields" "(list of the fields, separated by commas)"

This I don't know, I will add it.
> Is the layer you are identifying visible?  By default, layers not
> visible (either turned off, or not within scale range) will not

Yes it is visible, and it's default state is ON.
> Identify.
>
> The identify html file should have a format like this, for each item you
> want to show:
> <td align="left" valign="top"><b>Name:</b></td>
> <td>[NAME]</td>
> </tr>
>
> Finally, are you testing with FireFox with the Firebug extension?  This
> is a useful tool to diagnose your application.

Thank's again with this info.

Regards,
Zery

> -Bob
>
>
> -----Original Message-----
> From: geomoose-users-bounces at lists.osgeo.org
> [mailto:geomoose-users-bounces at lists.osgeo.org] On Behalf Of Zery
> Sent: Wednesday, March 21, 2012 11:05 AM
> To: geomoose-users at lists.osgeo.org
> Subject: [Geomoose-users] Identify a Layer
>
>
>    Hi,
>
> I've searched the archive and had read the document, and I will be
> hanging around here oftenly so please bear with me.
>
> What I am doing right now with GeoMoose demo 2.2 is just changing here
> and there but I am not messing with any codes besides mapbook.xml, etc.
> My issue right now is when I click on a layer using identify tool I
> can't get any result on the Information tabs.
>
> I have change some pointers in identify_parcel.html that I'm guessing it
>
> should be an attribute title of the layer. I also had add/copy metadata
> from original parcels mapfile into my mapfile. I'm not messing with
> identify.php.
>
> As an info, my map consists of a few mapfile that was reading only
> shapefiles, no google, bing or any other WMS services.
>
> So, is there any configuration that i had missed to make my identify
> works?
>
> Reagards,
> Zery
> _______________________________________________
> Geomoose-users mailing list
> Geomoose-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/geomoose-users
>


More information about the Geomoose-users mailing list