[Mapserver-users] ASP and MapServer

Palle Due Larsen palle at mail-online.dk
Tue Jun 17 23:27:00 PDT 2003


Hi,

You should be able to use perl in ASP, if you install ActivePerl. I
don't know if it would allow you to use Geo::ShapeFile though, but it's
worth a try.

Best regards

Palle Due Larsen
Carl Bro GIS & IT

-----Original Message-----
From: woodbri at swoodbridge.com
To: "Mario" <noti at ciaoweb.it>
Cc: mapserver-users at lists.gis.umn.edu
Date: Wed, 18 Jun 2003 00:15:26 -0400
Subject: Re: [Mapserver-users] ASP and MapServer

> Ok, you got me :( I'm not sure how to solve this problem in the ASP 
> world. 
> 
> A tool I have used in Perl is Geo::ShapeFile, if I remember correctly
> it might be easy to do a straight port of it to ASP code. You can get
> it at 
> http://search.cpan.org/src/JASONK/Geo-ShapeFile-2.10/
> This should have the code in it to read both shp and dbf files.
> 
> -Steve W.
> 
> On 17 Jun 2003 at 14:56, Mario wrote:
> 
> > Hi Steve,
> > dbase tables don't have indexed fields and when I query the
> database,
> > I extract some records in a new recordset. If, as record number,
> you
> > consider the absolute position in the original table I cannot have
> > that number. Maybe it's possible to scroll all the database with a
> > Find command but probably it would be very slow for large
> tables.... I
> > 'm new in mapserver, can I find somewhere sample code that opens
> > shapefile and reads extents for a feature?
> > 
> > Thank you
> > 
> > Mario
> > 
> > 
> > 
> > 
> > 
> > ----- Original Message -----
> > From: <woodbri at swoodbridge.com>
> > To: <mapserver-users at lists.gis.umn.edu>; "Mario" <noti at ciaoweb.it>
> > Sent: Tuesday, June 17, 2003 2:02 PM Subject: Re: [Mapserver-users]
> > ASP and MapServer
> > 
> > 
> > > Hi Mario,
> > >
> > > If you can read the dbf and have the record number, then you need
> to
> > > open the shapefile and read the extents for that record number,
> then
> > > you can call $map->setextent(xmin, ymin, xmax,ymax) and you
> should
> > > be all set.
> > >
> > > -Steve W.
> > >
> > > On 17 Jun 2003 at 13:16, Mario wrote:
> > >
> > > > Hi,
> > > > I developed an ASP application that allow users to query dbase
> > > > files in Shapefiles datasets. I'd like to pass records found to
> > > > MapServer in order to zoom to their extents. How can I pass
> these
> > > > records to MapServer?
> > > >
> > > > Any help appreciated
> > > >
> > > > Thanks
> > > > Mario
> > > >
> > >
> > >
> > >
> > 
> > 
> 
> 
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users

Få en gratis emailkonto her: www.mail-online.dk 
-----------------------------------------------
Bestem selv, hvor meget du vil betale 
for din næste bannerkampagne...
Klik her: www.online-international.dk





More information about the MapServer-users mailing list