[ka-Map-users] ka-Map-users Digest, Vol 46, Issue 3

Bistrais, Bob Bob.Bistrais at maine.gov
Mon Feb 9 13:25:29 EST 2009


Hi Mir,

I think your advice is helping.  But I am not sure how to pass the
variable to the .map file.  In my application, the user will select a
town name from a drop down box.  So I would like to pass the town name
as a variable to the .map file.  How do I do that?

Thanks,
Bob
 

-----Original Message-----
From: ka-map-users-bounces at lists.maptools.org
[mailto:ka-map-users-bounces at lists.maptools.org] On Behalf Of
ka-map-users-request at lists.maptools.org
Sent: Sunday, February 08, 2009 12:00 PM
To: ka-map-users at lists.maptools.org
Subject: ka-Map-users Digest, Vol 46, Issue 3

Send ka-Map-users mailing list submissions to
	ka-map-users at lists.maptools.org

To subscribe or unsubscribe via the World Wide Web, visit
	http://lists.maptools.org/mailman/listinfo/ka-map-users
or, via email, send a message with subject or body 'help' to
	ka-map-users-request at lists.maptools.org

You can reach the person managing the list at
	ka-map-users-owner at lists.maptools.org

When replying, please edit your Subject line so it is more specific than
"Re: Contents of ka-Map-users digest..."


Today's Topics:

   1. Re: ka-Map-users Digest, Vol 46, Issue 2 (Hussain Hashmi)


----------------------------------------------------------------------

Message: 1
Date: Sun, 8 Feb 2009 09:04:13 +0300
From: Hussain Hashmi <tohashmi at gmail.com>
Subject: Re: [ka-Map-users] ka-Map-users Digest, Vol 46, Issue 2
To: ka-map-users at lists.maptools.org
Message-ID:
	<28aabd160902072204u53dd2f4fs5f5625f59dd31eb2 at mail.gmail.com>
Content-Type: text/plain; charset="iso-8859-1"

Hello Bob !

Hiliting a feature on map would require you to add another layer for
hiliting.
For example, the way i do hilite as follows:

First, define the hiliting style:

  SYMBOL
    NAME 'circle'
    TYPE ELLIPSE
    FILLED TRUE
    POINTS 1 1 END
  END

Secondly, add a layer for hiliting:

  LAYER
    NAME 'districts_selection'
    DATA './districts'
    TYPE polygon
    STATUS off
    MINSCALE 9500
    METADATA
      "tile_source" "nocache"
    END
    CLASSITEM "OBJECTID"
    CLASS
      EXPRESSION ([OBJECTID] in '%districts_ids%')
      STYLE
        COLOR -1 -1 -1
        OUTLINECOLOR 115 223 255
        SYMBOL 'circle'
        SIZE 5
      END
    END
  END #end layer
Then, pass the ObjectID of the selected feature which needs to be
hilited to the new layer in map file..

Hope it helps.

cheers !
Mir Hashmi


On Sat, Feb 7, 2009 at 8:00 PM,
<ka-map-users-request at lists.maptools.org>wrote:

> Send ka-Map-users mailing list submissions to
>        ka-map-users at lists.maptools.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.maptools.org/mailman/listinfo/ka-map-users
> or, via email, send a message with subject or body 'help' to
>        ka-map-users-request at lists.maptools.org
>
> You can reach the person managing the list at
>        ka-map-users-owner at lists.maptools.org
>
> When replying, please edit your Subject line so it is more specific 
> than "Re: Contents of ka-Map-users digest..."
>
>
> Today's Topics:
>
>   1. Hilite selected feature in Ka-Map (Bistrais, Bob)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Fri, 6 Feb 2009 13:42:24 -0500
> From: "Bistrais, Bob" <Bob.Bistrais at maine.gov>
> Subject: [ka-Map-users] Hilite selected feature in Ka-Map
> To: <ka-map-users at lists.maptools.org>
> Message-ID:
>        <
> 4EFF8BB964547748A07CA32961810C0412C48356 at SOM-TEAQASMAIL1.som.w2k.state
> .me.us
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> I have been modifying the Search tool in Ka-Map to select and zoom to 
> features.  One thing I would also like to do is hilite the selected 
> feature.  I have Querymap enabled in my master .map file (each map 
> layer is an Include file called from the master .map file).  I have 
> been looking at some of the files (simplequery, index_query, etc), and

> I have also been looking in the archives of this list,  but I can't 
> figure out how to hilite the selected feature.  Can anyone give me any
pointers?
>
> -------------- next part -------------- An HTML attachment was 
> scrubbed...
> URL:
> http://lists.maptools.org/pipermail/ka-map-users/attachments/20090206/
> 1c9674fd/attachment-0001.htm
>
> ------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
>
> End of ka-Map-users Digest, Vol 46, Issue 2
> *******************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL:
http://lists.maptools.org/pipermail/ka-map-users/attachments/20090208/1f
ab24b5/attachment.html 

------------------------------

_______________________________________________
ka-Map-users mailing list
ka-Map-users at lists.maptools.org
http://lists.maptools.org/mailman/listinfo/ka-map-users


End of ka-Map-users Digest, Vol 46, Issue 3
*******************************************


More information about the ka-Map-users mailing list