[Mapserver-users] ASP and MapServer
Mario
noti at ciaoweb.it
Tue Jun 17 06:05:10 PDT 2003
This is a multi-part message in MIME format.
------=_NextPart_000_0080_01C334E1.D8B62ED0
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
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
> >
>
>
>
------=_NextPart_000_0080_01C334E1.D8B62ED0
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=3DContent-Type content=3D"text/html; =
charset=3Diso-8859-1">
<META content=3D"MSHTML 6.00.2800.1106" name=3DGENERATOR>
<STYLE></STYLE>
</HEAD>
<BODY bgColor=3D#ffffff>
<DIV>Hi Steve,<BR>dbase tables don't have indexed fields and when I =
query the=20
database,<BR>I extract some records in a new recordset. If, as record =
number,=20
you<BR>consider the absolute position in the original table I cannot =
have=20
that<BR>number.<BR>Maybe it's possible to scroll all the database with a =
Find=20
command but<BR>probably it would be very slow for large tables....<BR>I =
'm new=20
in mapserver, can I find somewhere sample code that opens =
shapefile<BR>and reads=20
extents for a feature?<BR><BR>Thank=20
you<BR><BR>Mario<BR><BR><BR><BR><BR><BR>----- Original Message =
-----<BR>From:=20
<<A=20
href=3D"mailto:woodbri at swoodbridge.com">woodbri at swoodbridge.com</A>><B=
R>To:=20
<<A=20
href=3D"mailto:mapserver-users at lists.gis.umn.edu">mapserver-users at lists.g=
is.umn.edu</A>>;=20
"Mario" <<A =
href=3D"mailto:noti at ciaoweb.it">noti at ciaoweb.it</A>><BR>Sent:=20
Tuesday, June 17, 2003 2:02 PM<BR>Subject: Re: [Mapserver-users] ASP and =
MapServer<BR><BR><BR>> Hi Mario,<BR>><BR>> If you can read the =
dbf and=20
have the record number, then you need to<BR>> open the shapefile and =
read the=20
extents for that record number, then<BR>> you can call=20
$map->setextent(xmin, ymin, xmax,ymax) and you should be<BR>> all=20
set.<BR>><BR>> -Steve W.<BR>><BR>> On 17 Jun 2003 at 13:16, =
Mario=20
wrote:<BR>><BR>> > Hi,<BR>> > I developed an ASP =
application that=20
allow users to query dbase files<BR>> > in Shapefiles datasets. =
I'd like=20
to pass records found to MapServer in<BR>> > order to zoom to =
their=20
extents. How can I pass these records to<BR>> > MapServer?<BR>> =
><BR>> > Any help appreciated<BR>> ><BR>> > =
Thanks<BR>>=20
> Mario<BR>> ><BR>><BR>><BR>></DIV></BODY></HTML>
------=_NextPart_000_0080_01C334E1.D8B62ED0--
More information about the MapServer-users
mailing list