[MAPSERVER-USERS] How To draw Reference map(Overview Window) using asp.net?
Hi friends, Can any one tell me how to draw reference map(overview window) using Asp.net Thanks Regards Yatendra Jaiswal -- View this message in context: http://www.nabble.com/How-To-draw-Reference-map%28Overview-Window%29-using-asp.net--tp17226035p17226035.html Sent from the Mapserver - User mailing list archive at Nabble.com. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Mapserver configuration/installation problem
Katja, This is a shot in the dark, but make sure that you do a make clean before your make just to be sure that some old options didn't get saved by accident. I have sometimes had this difficulty with Make. HTH, r.b. Robert W. Burgholzer Surface Water Modeler Office of Water Supply and Planning Virginia Department of Environmental Quality [EMAIL PROTECTED] 804-698-4405 Open Source Modeling Tools: http://sourceforge.net/projects/npsource/ -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Katja Loffler Sent: Wednesday, May 14, 2008 12:51 PM To: mapserver-users@lists.osgeo.org Subject: [mapserver-users] Mapserver configuration/installation problem Hello, I am Katja and I am new to mapserver and somehow fighting with the installation. I try to install it under Linux. All required packages are installed, I run ./configure --with-pdf --with-gdal --with-geos --with-png --with-jpeg --with-gif --with-wbmp --with-swf --with-svg --with-postgis=/usr/local/pgsql/bin/pg_config --with-ogr --with-shapefile --with-wfsclient --with-wcs --with-sos --with-proj=/usr/local/proj-4.6.0 --with-threads --with-httpd=/usr/sbin/httpd --with-geos=/usr/local/bin/geos-config --with-wms After that I get the output: MapServer is now configured for -- Compiler Info - C compiler:gcc -O2 -fPIC -Wall C++ compiler: g++ -O2 -fPIC -Wall Debug: -DNEED_NONBLOCKING_STDERR Generic NINT: Threading support: -DUSE_THREAD -- Renderer Settings - zlib support: -DUSE_ZLIB png support: jpeg support: iconv support: -DUSE_ICONV AGG support: AGG Freetype support: Ming(flash) support: PDFLib support: -- Data Format Drivers --- native tiff support: PostGIS support: -DUSE_POSTGIS Proj.4 support:-DUSE_PROJ EPPL7 support: -DUSE_EPPL ArcSDE support: OGR support: -DUSE_OGR GDAL support: -DUSE_GDAL GEOS support: -DUSE_GEOS Oracle Spatial support: FastCGI support: -- OGC Services -- WMS Server:-DUSE_WMS_SVR WMS Client: WFS Server: WFS Client: WCS Server:-DUSE_WCS_SVR SOS Server:-DUSE_SOS_SVR -- MapScript - PHP MapScript: no I do make and copy mapserv to /var/www/cgi-bin/ ... Now my problem: /var/www/cgi-bin/mapserv -v gives the following output: MapServer version 5.0.2 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP OUTPUT=SVG SUPPORTS=FREETYPE INPUT=TIFF INPUT=EPPL7 INPUT=JPEG INPUT=POSTGIS INPUT=SHAPEFILE just as I had not configured mapserver with the options I used. mapserver-config lookes fine - I can see the options I used with configure. What went wrong? Thanks a lot and regards! Katja ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Label Height
I am setting up my first layer that is purely annotation and I am using a shape text layer that contains the fields for angle, height, orientation. My shape file has units for the height set in feet. Is there a way to make mapserver display those in feet? I only see a designation for pixels in the documentation. I am using Mapserver 5. Thanks for any help. Kevin Edmundson CIO WTH Technology, Inc 567 W Westfield Blvd Indianapolis, IN 46208 317.259.0105 office 317.259.1423 fax 317.501.8560 mobile [EMAIL PROTECTED] NOTICE: This message is from the technology firm WTH Technology, Inc. This message is intended only for the individual or entity to which it is directed. If you are not the addressee, or if this message has been addressed to you in error, you are not authorized to use, read, copy or distribute this message and any attachments, and we ask that you please immediately delete this message and attachments (including all copies), and notify the sender by return e-mail so that our records can be corrected. All personal messages express views only of the sender, which are not to be attributed to WTH Technology, Inc, and may not be distributed or copied without this statement. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Mapserver GDAL in various Linux repositories
I'm trying to get a handle on installing Mapserver on different Linux systems, so I can make recommendations to clients for setting up systems with Mapserver. For standard repositories for different Linux distributions, I see quite a variety of names and versions: Ubuntu: I have 8.04 on my MacBook, so I could check this directly - I find MapServer 5.0.0 and GDAL 1.4.4. A web package list gives me MS 4.10 and GDAL 1.4.1 for 7.10. Debian: the web package listing shows MS 4.10/GDAL 1.5.0 for etch, and MS 5.0.2/GDAL 1.5.1 for the upcoming lenny. Redhat: I couldn't find a web interface to search for packages, but did find a reference to Redhat 5 which has MS 4.10 and GDAL 1.4.2. The Mapserver download page has links to old Mapping Hacks RPMs, and a really old FGS bundle. There's the FWTools, which is supposed to have the latest dev versions of MS and GDAL for almost any 32bit Linux, but I'm not sure I want to put dev versions into a production environment. Any other ideas? - custom repositories with more up to date, or consistent across Linux systems, version? Building from source would only be an option for the more savvy clients. Maybe something similar to FWTools but with stable versions only? I definitely want at least MapServer 5 (though I could live with 4.10 in a pinch). GDAL version is more flexible, though it would be good to have the newer Python bindings in 1.5. Other support dependencies are less of a concern (except maybe PROJ). - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ Time is an illusion - lunchtime doubly so. - Ford Prefect ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver GDAL in various Linux repositories
William Kyngesburye wrote: The Mapserver download page has links to old Mapping Hacks RPMs, and a really old FGS bundle. There's the FWTools, which is supposed to have the latest dev versions of MS and GDAL for almost any 32bit Linux, but I'm not sure I want to put dev versions into a production environment. Any other ideas? - custom repositories with more up to date, or consistent across Linux systems, version? Building from source would only be an option for the more savvy clients. Maybe something similar to FWTools but with stable versions only? I definitely want at least MapServer 5 (though I could live with 4.10 in a pinch). GDAL version is more flexible, though it would be good to have the newer Python bindings in 1.5. Other support dependencies are less of a concern (except maybe PROJ). William, For system where you can't get reliable pre-made packages, I'd encourage use of FGS. It is intended for that role. There has been a bunch of work recently to update FGS to more recent versions of the various packages. FGS could definately benefit from more assistance. Best regards, -- ---+-- I set the clouds in motion - turn up | Frank Warmerdam, [EMAIL PROTECTED] light and sound - activate the windows | http://pobox.com/~warmerdam and watch the world go round - Rush| President OSGeo, http://osgeo.org ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver GDAL in various Linux repositories
William Kyngesburye wrote: The Mapserver download page has links to old Mapping Hacks RPMs, and a really old FGS bundle. With respect to FGS, there have been no official/public releases in quite a while, but we've continued to use it internally. Recently we've started putting more work towards a new public release and last week a 1.0 release with the latest version of everything has been posted to the download site and mentioned on the FGS list, but unfortunately the website is still lagging behind. Here is the relevant mailing list thread with the download/install info for FGS 1.0: http://lists.maptools.org/pipermail/foss-gis-suite/2008-May/000639.html Daniel -- Daniel Morissette http://www.mapgears.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Customized layer for Mapserver/Kamap
Hi, In your mapfile you define the layers and the colors. See example below. If you have an SRID (projection) for the layer use it. You can see what it is by selecting this sql in pgadmin: select srid(the_geom) from cities) . Use the number you get here in the mapserver layer definition and in the projection definition as well. If you loaded the cities with shp2pgsql then you should automatically have a gid field on the cities table. And your cities table should have a population field the type of which should be some kind of number. LAYER METADATA wms_title Cities layer END NAME cities TRANSPARENCY 100 CONNECTIONTYPE postgis CONNECTION host=??? user=??? dbname=??? password='???' DATA the_geom from cities using srid=??? USING UNIQUE gid TYPE POLYGON CLASS NAME Small cities EXPRESSION ( [population] 5) COLOR 0 255 0 END CLASS NAME Medium cities EXPRESSION ([population] 5 AND [population] 150 ) COLOR 255 255 0 END CLASS NAME Big cities EXPRESSION ([population] 150 ) COLOR 255 0 0 END END Hope this helps, Florin ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
RE: [mapserver-users] Mapserver GDAL in various Linux repositories
I can vouch for the HostGIS linux platform that the guys put out there. I've used it for a couple of years now and as a base platform it would be very hard to beat! Gregor and the guys do a great job of putting it together and their support is beyond compare. They and their platform get a 10 out of 10 from me. -- Things are only difficult while you don't understand them. Date: Wed, 14 May 2008 12:45:10 -0600 From: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: Re: [mapserver-users] Mapserver GDAL in various Linux repositories CC: [EMAIL PROTECTED]; mapserver-users@lists.osgeo.org Any other ideas? - custom repositories with more up to date, or consistent across Linux systems, version? Maybe something similar to FWTools but with stable versions only? There's our own open-source product: HostGIS Linux http://www.hostgis.com/linux/ We use it in production on both 32-bit and 64-bit platforms, with great success. -- Gregor Mosheh / Greg AllensworthBS, A+, Network+, Security+, Server+ System Administrator, Lead Programmer HostGIS development hosting services, http://www.HostGIS.com/ Remember that no one cares if you can back up, only if you can restore. - AMANDA ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users _ Stay in touch when you're away with Windows Live Messenger. http://www.windowslive.com/messenger/overview.html?ocid=TXT_TAGLM_WL_Refresh_messenger_052008___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver GDAL in various Linux repositories
Why, thank you Gail. That just brings out a smile. FYI, I've started construction of HGL 4.3 so this is a great time to hit up the mailing list, and to send in requests and complaints about HGL 4.2 The diffs will be about a dozen bugfixes, and mostly just good ol' package upgrades, and a lot of work toward package upgrades. And now I'll quit spamming plugs for our own product. :) -- Gregor Mosheh / Greg AllensworthBS, A+, Network+, Security+, Server+ System Administrator, Lead Programmer HostGIS development hosting services, http://www.HostGIS.com/ Remember that no one cares if you can back up, only if you can restore. - AMANDA ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Mapserver GDAL in various Linux repositories
I vaguely remember this, but didn't pay much attention to it ;) It would be good to update the FGS page to show which versions are included. Are the FGS builds of Apache, PHP, Postgres, ... and basic libraries required for FGS MapServer GDAL, and other GIS tools and libraries? Or can they use system copies of these? Clients may not be willing or able to install duplicate copies of stuff available at the same version in the system, especially on an existing server. Also, are there plans for 64bit builds? On May 14, 2008, at 1:34 PM, Daniel Morissette wrote: William Kyngesburye wrote: The Mapserver download page has links to old Mapping Hacks RPMs, and a really old FGS bundle. With respect to FGS, there have been no official/public releases in quite a while, but we've continued to use it internally. Recently we've started putting more work towards a new public release and last week a 1.0 release with the latest version of everything has been posted to the download site and mentioned on the FGS list, but unfortunately the website is still lagging behind. Here is the relevant mailing list thread with the download/install info for FGS 1.0: http://lists.maptools.org/pipermail/foss-gis-suite/2008-May/ 000639.html Daniel -- Daniel Morissette http://www.mapgears.com/ ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users - William Kyngesburye kyngchaos*at*kyngchaos*dot*com http://www.kyngchaos.com/ All generalizations are dangerous, even this one. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] color coding
I have a layer that I want to color code the features for a specific field. Is there a way in mapserver to have it automatically color all unique values, or do I specifically have to identify the unique value/color combinations myself in class items? Kevin Edmundson CIO WTH Technology, Inc 567 W Westfield Blvd Indianapolis, IN 46208 317.259.0105 office 317.259.1423 fax 317.501.8560 mobile [EMAIL PROTECTED] NOTICE: This message is from the technology firm WTH Technology, Inc. This message is intended only for the individual or entity to which it is directed. If you are not the addressee, or if this message has been addressed to you in error, you are not authorized to use, read, copy or distribute this message and any attachments, and we ask that you please immediately delete this message and attachments (including all copies), and notify the sender by return e-mail so that our records can be corrected. All personal messages express views only of the sender, which are not to be attributed to WTH Technology, Inc, and may not be distributed or copied without this statement. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] color coding
Kevin Edmundson wrote: I have a layer that I want to color code the features for a specific field. Is there a way in mapserver to have it automatically color all unique values, or do I specifically have to identify the unique value/color combinations myself in class items? No automatic way to do that. In part is is a performance issue, because you would have to scan all the data to get the set of unique values and then render only the few items in the window for every request. The way this gets cached in mapserver is you have to extract the unique values and then create a CLASS EXPRESSION and assign a color it each item or group of items based on that. -Stephen Woodbridge http://imaptools.com/ Kevin Edmundson CIO WTH Technology, Inc 567 W Westfield Blvd Indianapolis , IN 46208 317.259.0105 office 317.259.1423 fax 317.501.8560 mobile [EMAIL PROTECTED] NOTICE: This message is from the technology firm WTH Technology, Inc. This message is intended only for the individual or entity to which it is directed. If you are not the addressee, or if this message has been addressed to you in error, you are not authorized to use, read, copy or distribute this message and any attachments, and we ask that you please immediately delete this message and attachments (including all copies), and notify the sender by return e-mail so that our records can be corrected. All personal messages express views only of the sender, which are not to be attributed to WTH Technology, Inc, and may not be distributed or copied without this statement. ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Converting datum using ogr2ogr
Hello, I am new in the mailing list. I want to use ogr2ogr to convert projection/datum of shape files to a same SRS before insert them into postgres for serving by MapServer. However ogr2ogr seems convert only projection even the shape file has .prj file. I checked out that GDAL has no default parameters to convert datum. I need the conversion before inserting to postgres with some reasons, I mean, with translation from shape to shape. Any suggestion to convert datum using ogr2ogr or other stand-alone program ? - The ogr2ogr is included in FWTools 2.1.0. - OS is windows xp. Thanks, Isao NASUNO ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Converting datum using ogr2ogr
Hi, I don't think you need .prj file with your shapefiles and you should be able even to overrun it. You need to use parameters -s_srs for source projection and -t_srs for target projection. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: NASUNO Isao Lähetetty: to 15.5.2008 4:59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] Converting datum using ogr2ogr Hello, I am new in the mailing list. I want to use ogr2ogr to convert projection/datum of shape files to a same SRS before insert them into postgres for serving by MapServer. However ogr2ogr seems convert only projection even the shape file has .prj file. I checked out that GDAL has no default parameters to convert datum. I need the conversion before inserting to postgres with some reasons, I mean, with translation from shape to shape. Any suggestion to convert datum using ogr2ogr or other stand-alone program ? - The ogr2ogr is included in FWTools 2.1.0. - OS is windows xp. Thanks, Isao NASUNO ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Converting datum using ogr2ogr
Hi Jukka, Thank you for your response. yes, I tried with the options (s/t_srs), however it makes conversion for projection but not for datum. In my case, I used following options but the input and output are exactly same. -s_srs EPSG:4301 -t_srs EPSG:4326 (GCS with bessel)(GCS with WGS84) I checked GDAL FAQ and found following. http://trac.osgeo.org/gdal/wiki/FAQCoordinateSystemsAndProjections#WhydoesntGDALautomaticallychoosethedatumtransformation Why doesn't GDAL automatically choose the datum transformation? There is no such thing as an accurate default set of datum transformation parameters for a datum. OGR uses (NADCON) by default, which is the most accurate available for North America, but in the general case (worldwide) this is very hard to determine and there normally is no such thing as a default. The transformation that should be used depends on the exact area covered, accuracy required etc. In other words, user beware and do your homework. Is this the reason ? I am not sure if ogr2ogr can accept the parameters in manual. Please help if any idea. Thanks, Isao Rahkonen Jukka wrote: Hi, I don't think you need .prj file with your shapefiles and you should be able even to overrun it. You need to use parameters -s_srs for source projection and -t_srs for target projection. -Jukka Rahkonen- -Alkuperäinen viesti- Lähettäjä: [EMAIL PROTECTED] puolesta: NASUNO Isao Lähetetty: to 15.5.2008 4:59 Vastaanottaja: mapserver-users@lists.osgeo.org Aihe: [mapserver-users] Converting datum using ogr2ogr Hello, I am new in the mailing list. I want to use ogr2ogr to convert projection/datum of shape files to a same SRS before insert them into postgres for serving by MapServer. However ogr2ogr seems convert only projection even the shape file has .prj file. I checked out that GDAL has no default parameters to convert datum. I need the conversion before inserting to postgres with some reasons, I mean, with translation from shape to shape. Any suggestion to convert datum using ogr2ogr or other stand-alone program ? - The ogr2ogr is included in FWTools 2.1.0. - OS is windows xp. Thanks, Isao NASUNO ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users