[mapserver-users] New tool to check out
Tom.Kralidis at ccrs.nrcan.gc.ca
Tom.Kralidis at ccrs.nrcan.gc.ca
Thu Sep 19 08:20:10 PDT 2002
Stephen,
Can this be exposed as a web service, i.e. calling from HTTP instead of PHP
natively.
The first step could return the list of places in XML, and the second step
can return a map image of one placename.
Thanks
..Tom
> -----Original Message-----
> From: woodbri at swoodbridge.com [mailto:woodbri at swoodbridge.com]
> Sent: Thursday, September 19, 2002 11:17 AM
> To: mapserver-users at lists.gis.umn.edu; Tom.Kralidis at ccrs.nrcan.gc.ca
> Subject: RE: [mapserver-users] New tool to check out
>
>
> Tom,
>
> Yes, I have a Tiger based geocoder that already works as a service.
> The question becomes how do you want the API to look.
>
> What I did with the Tiger geocoder was to write a php wrapper around
> it so you could call it as a php function, like
>
> $results = geocoder($name, $country, $dbflags, $exact);
>
> and $results would be either a hashed array with keys like:
>
> STATUS = error return code if it encountered a problem
> COUNT = number of db hits returned
> NAME = array of names, COUNT long
> LAT = array of LAT values, COUNT long
> LON = array of LON values, COUNT long
>
> it would be possible to do something similar for the vmap0 or any
> mapserver app to fetch map pages or to fetch map images if you just
> wanted to imbed them as static images on a page. I haven't played
> with WMS features yet but that is what they are designed for right?
>
> -Stephen Woodbridge
> http://iMapTools.com
>
> On 19 Sep 2002 at 11:00, Tom.Kralidis at CCRS.NRCan.gc.ca wrote:
>
> >
> > > -----Original Message-----
> > > From: woodbri at swoodbridge.com [mailto:woodbri at swoodbridge.com]
> > > Sent: Thursday, September 19, 2002 10:00 AM
> > > To: mapserver-users at lists.gis.umn.edu
> > > Subject: [mapserver-users] New tool to check out
> > >
> > >
> > > Hi all,
> > >
> > > I just got a world-wide place name geocoder working. It has over 7
> > > million records in it and it links the results to a Mapserver
> > > (modified maplab) viewer using vmap0 data for the world base map.
> > >
> > > I will be making some changes to both over time, but
> thought I would
> > > share them with you if your interested.
> > >
> > > http://iMapTools.com/geocode.php
> > >
> > > -Stephen Woodbridge
> > > http://iMapTools.com
> > >
> >
> > Stephen,
> >
> > This is pretty impressive. Is/can this be setup as a service, i.e.
> > GetMap by placename?
> >
> > Thanks
> >
> > ..Tom
> >
> > =================================
> > Tom Kralidis
> > Systems Scientist
> > Canada Centre for Remote Sensing
> > Tel: (613) 947-1828
> > http://www.ccrs.nrcan.gc.ca/
> > =================================
> >
>
>
More information about the MapServer-users
mailing list