asp and mapserver

Ed McNierney ed at TOPOZONE.COM
Mon Sep 27 07:05:29 PDT 2004


Steve -

I'd suggest you look into the MapServer OGC WMS interface.  It's a simple, open standard that lets you request a specific map image through the use of URL querystring parameters.  Just generate the parameters you want, pass the URL to the output page and insert it as the SRC property of an <IMG> tag on that page.  Much of the MapServer "template" mechanism is provided to allow relatively sophisticated applications to be built WITHOUT the use of a server-side scripting environment.  Most users who get confused with ASP and MapServer do so because they try to continue using the MapServer "mode=browse" model (with template processing) rather than stepping around it with either a "mode=map" or WMS interface.

        - Ed

Ed McNierney
President and Chief Mapmaker
TopoZone.com / Maps a la carte, Inc.
73 Princeton Street, Suite 305
North Chelmsford, MA  01863
Phone: +1 978 251-4242   Fax: +1 978 251-1396

-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of C Gould
Sent: Monday, September 27, 2004 10:03 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: Re: [UMN_MAPSERVER-USERS] asp and mapserver

Steve,

Can you not create a page that :
1. Does your preprocessing with the database and creates your mapserver cgi url.
2. Uses a third party product (e.g. w3sockets http://www.dimac.net/Products/FreeProducts/w3Sockets/start.htm ) to call the mapserver cgi-script and retrieve the resulting HTML which will contain the newly created GIF's URL.
3. Pass this GIF URL onto the other HTML page.

Regards
Craig


-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On Behalf Of Steve McCrone
Sent: 27 September 2004 14:45
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] asp and mapserver


Hi,

Is there a way to mix asp and mapserver?

I need to access a database using asp, and then use some of the reults to create a GIF using mapserver, and then pass the gif file name created to another html page.

The problem is that I cannot seem to mix mapserver and asp.

Thanks



More information about the MapServer-users mailing list