Java Mapserver app - queryLayerByPoint. How?

Umberto Nicoletti umberto.nicoletti at GMAIL.COM
Wed Nov 14 02:37:09 EST 2007


There is a queryByPoint code example here (before last paragraph):

http://mapserver.gis.umn.edu/docs/howto/javamapscript

HTH,
Umberto

On Nov 13, 2007 8:46 PM, Jeresin <info at jeresin.co.za> wrote:
> Hello all
>
> (insert usual sorry-I'm-a-newbie-I-don't-know-what-I'm-doing drivel here)
>
> OK, with that out the way, on to business. Notwithstanding the vast
> non-existence of useful Java tutorials on the web, I was able to slap
> together a rather nice desktop app with most of the bells and whistles one
> would expect...except for the fact that I don't know where or how to obtain
> the information (metadata?) associated with shapes. I can query my layers by
> point, but the TEMPLATE throws me...that works well with the web-based maps
> but not with a stand-alone desktop app.
>
> The info I want, for instance the names and populations of towns, are all in
> a similarly named dbf file as the shp file. I don't want to distribute the
> data into a database, nor do I want to fetch an index from the layer and use
> a non-proprietary java library to break open the dbf to match the data
> contained therein with my index.
>
> So, my question, how would I interrogate shapes (using queryLayerByPoint) in
> a desktop app?
>
> Thanks in advance for your assistance in this regard.
> --
> View this message in context: http://www.nabble.com/Java-Mapserver-app---queryLayerByPoint.-How--tf4800141.html#a13733184
> Sent from the Mapserver - User mailing list archive at Nabble.com.
>



More information about the mapserver-users mailing list