[mapserver-users] capability to reproject to 2 different projections within the map object of the map file
If I want all the layers within a map file no matter the layers own projection to have the capability to reproject to 2 different projections would I within the map object of the map file replace: PROJECTION init=epsg:4326 END With: PROJECTION init=epsg:4326 init=epsg:102113 END Thanks, John ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] How would I modify a map file so that when a getcapabilities is run it outputs as tiled layers (wms-t) including listing resolutions listed below:
How would I modify a map file so that when a getcapabilities is run it outputs as tiled layers (wms-t) including listing resolutions listed below: Resolutions 0.703125,0.3515625,0.17578125,0.087890625,0.0439453125,0.02197265625,0.010986328125,0.0054931640625,0.00274658203125,0.001373291015625,6.866455078125E-4,3.4332275390625E-4,1.71661376953125E-4,8.58306884765625E-5,4.291534423828125E-5,2.1457672119140625E-5,1.0728836059570312E-5,5.364418029785156E-6,2.682209014892578E-6,1.341104507446289E-6,6.705522537231445E-7,3.3527612686157227E-7 /Resolutions Thanks, John -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] EPSG code definition does not match the gdalinfo definition so I created a custom code
I ran gdalinfo (listed at the bottom) for a jpeg 2000 that I want to host via mapserver and it says that the EPSG code is 32128 but when I look at this EPSG code definition within mapserver listed below I noticed that the definition is listed in meters but gdalinfo is listed in feet and the definition +x_0=60 but gdalinfo value is listed as PARAMETER[false_easting,1968500]. # NAD83 / Pennsylvania North 32128 +proj=lcc +lat_1=41.95 +lat_2=40.88 +lat_0=40.16 +lon_0=-77.75 +x_0=60 +y_0=0 +ellps=GRS80 +datum=NAD83 +units=m +no_defs I created a new EPSG code called 321288 which I believe matches the definition that gdalinfo contains. Does this make sense? # NAD83 / Pennsylvania North feet 321288 +proj=lcc +lat_1=41.95 +lat_2=40.88 +lat_0=40.16 +lon_0=-77.75 +x_0=1968500 +y_0=0 +ellps=GRS80 +datum=NAD83 +to_meter=0.3048006096012192 +no_defs Driver: JP2KAK/JPEG-2000 (based on Kakadu) Files: A:\MappedDrives\DriveK\FTPCounties\Pa State Data\Pa Imagery\PA-Luzerne-2008\luzerne.jp2 Size is 21, 20 Coordinate System is: PROJCS[NAD83 / Pennsylvania North, GEOGCS[NAD83, DATUM[North_American_Datum_1983, SPHEROID[GRS 1980,6378137,298.2572221010002, AUTHORITY[EPSG,7019]], AUTHORITY[EPSG,6269]], PRIMEM[Greenwich,0], UNIT[degree,0.0174532925199433], AUTHORITY[EPSG,4269]], PROJECTION[Lambert_Conformal_Conic_2SP], PARAMETER[standard_parallel_1,41.95], PARAMETER[standard_parallel_2,40.88], PARAMETER[latitude_of_origin,40.16], PARAMETER[central_meridian,-77.75], PARAMETER[false_easting,1968500], PARAMETER[false_northing,0], UNIT[US survey foot,0.3048006096012192, AUTHORITY[EPSG,9003]], AUTHORITY[EPSG,32128]] Origin = (236.000,47.000) Pixel Size = (1.000,-1.000) Corner Coordinates: Upper Left ( 236.000, 47.000) ( 76d19'18.70W, 41d26'52.00N) Lower Left ( 236.000, 27.000) ( 76d20'1.64W, 40d53'56.14N) Upper Right ( 257.000, 47.000) ( 75d33'21.88W, 41d26'8.62N) Lower Right ( 257.000, 27.000) ( 75d34'27.83W, 40d53'13.12N) Center ( 2465000.000, 37.000) ( 75d56'47.50W, 41d10'4.77N) Band 1 Block=2048x128 Type=Byte, ColorInterp=Red Overviews: 105000x10, 52500x5, 26250x25000, 13125x12500, 6563x6250, 3282x3125, 1641x1563, 821x782 Metadata: LAYER_TYPE=athematic Band 2 Block=2048x128 Type=Byte, ColorInterp=Green Overviews: 105000x10, 52500x5, 26250x25000, 13125x12500, 6563x6250, 3282x3125, 1641x1563, 821x782 Metadata: LAYER_TYPE=athematic Band 3 Block=2048x128 Type=Byte, ColorInterp=Blue Overviews: 105000x10, 52500x5, 26250x25000, 13125x12500, 6563x6250, 3282x3125, 1641x1563, 821x782 Metadata: LAYER_TYPE=athematic -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Can google earth skin format be converted by GDAL to be used within MapServer?
Hi, Can google earth skin format be converted by GDAL to be used within MapServer? Thanks, John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Can MapServer host JPEG2000 Interactive Protocol (JPIP) streaming?
Hi, Can MapServer host JPEG2000 Interactive Protocol (JPIP) streaming? Thanks, John Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] converting a multi-thousand polygon shapefile into a shapefile that just contains the exterior vertices
Hi, I have created a shape file via gdaltindex based a few thousand geotiff's. I don't need all of the interior grids within this shape file just the exterior vertices's. How can I convert this shape file so that it does not have the interior grid and just the exterior vertices's. I am displaying this shape file within UMN MapServer and I want to increase the performance by eliminating the drawing of the interior grids. Thanks, John Mitchell -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] advantages of having the map file header extent the actual bounding box instead of EXTENT -180 -90 180 90 # World
Hi, What are the advantages or disadvantages of having the map file header extent the actual bounding box of the raster data that is displayed instead of the world wide extent (i.e. -180 -90 180 90 ). I have listed the top of a map file below as an example with the world wide extent. Thanks, John MAP # all temp files get prefixed with this string NAME All_Raster_Layers_ignore # always returns a map STATUS ON # image format options OUTPUTFORMAT NAME png DRIVER GD/PNG MIMETYPE image/png IMAGEMODE RGB EXTENSION png END # projection of the INTERFACE that this mapfile supports PROJECTION init=epsg:4326 END # minx miny maxx maxy EXTENT -180 -90 180 90 # World # units of map/app UNITS DD ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is using ECW format allowed or not?
If instead of using compressed ECW images as input for MapServer WMS you had GeoWebCache in front of MapServer which means that the WMS input is cached tiled png's instead of ECW images from MapServer.Then I think that you get around the ECW SDK license agreement, Correct??? Thanks, John On Mon, Oct 20, 2008 at 12:15 PM, Gregor Mosheh gre...@hostgis.com wrote: 1. Can we use our compressed ECW images as input for MapServer WMS? 2. Can we use ECW as an output format for MapServer WCS? The license agreement says that the ECW SDK cannot be used on a server then goes on to define that as a computer connected to the Internet which provides images. I'd say that clearly rules out MapServer consuming ECW. Very unfortunate, but in my opinion very clear. In my tests, I have found that JPEG2000 and ECW are really too slow for production use anyway. Maybe that's some sour grapes consolation? :) -- 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 -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
Re: [mapserver-users] Is using ECW format allowed or not?
Does a JPEG2000 created by ER Mapper/ECW also require licensing like an ECW format file when used by MapServer? Thanks, John On Mon, Oct 20, 2008 at 12:15 PM, Gregor Mosheh gre...@hostgis.com wrote: 1. Can we use our compressed ECW images as input for MapServer WMS? 2. Can we use ECW as an output format for MapServer WCS? The license agreement says that the ECW SDK cannot be used on a server then goes on to define that as a computer connected to the Internet which provides images. I'd say that clearly rules out MapServer consuming ECW. Very unfortunate, but in my opinion very clear. In my tests, I have found that JPEG2000 and ECW are really too slow for production use anyway. Maybe that's some sour grapes consolation? :) -- 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 -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] What is the size limit in KB for a map file and how can I increase this limit?
Hi, What is the size limit in KB for a map file and how can I increase this limit? Thanks, John -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] How do you configure a server to have two or more different MapServers running on it?
Hi, How do you configure a server to have two or more different MapServers running on it? Thanks, John -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] creating an epsg code that can be used within the epsg file for fwtools and MapServer
Hi, How would I create an epsg code that can be used within the epsg file for fwtools and MapServer? Below is the information that I would like to use to create an epsg code. What would be format for the new epsg code? Is the information listed below enough to create an epsg code and if not what am I missing? *The 2001 data was originally in a Guatemalan Transverse Mercator coordinate system with the parameters shown below: Projection: Transverse Mercator False Easting: 50.00 False Northing: 0.00 Central Meridian: -90.50 Scale Factor: 0.999800 Latitude of Origin: 0.000 Linear Unit: Meter Geographic Coordinate System: GCS_WGS_1984 *Below is the gdalinfo listing for one of files that I would like to associate to this new epsg code: *Driver: GTiff/GeoTIFF Size is 11214, 7860 Coordinate System is `' Origin = (317049.000,**1659460.000) Pixel Size = (0.500,-0.**500) Metadata: AREA_OR_POINT=Area TIFFTAG_SOFTWARE=ERDAS IMAGINE TIFFTAG_XRESOLUTION=1 TIFFTAG_YRESOLUTION=1 TIFFTAG_RESOLUTIONUNIT=1 (unitless) Corner Coordinates: Upper Left ( 317049.000, 1659460.000) Lower Left ( 317049.000, 1655530.000) Upper Right ( 322656.000, 1659460.000) Lower Right ( 322656.000, 1655530.000) Center ( 319852.500, 1657495.000) Band 1 Block=11214x8 Type=Byte, ColorInterp=Red Band 2 Block=11214x8 Type=Byte, ColorInterp=Green Band 3 Block=11214x8 Type=Byte, ColorInterp=Blue* Thanks, -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: [gdal-dev] creating an epsg code that can be used within the epsg file for fwtools and MapServer
Thanks Roger, Since I sent out the email I was able to derive the EPSG code and the only difference between mine and yours was that I had +units=m and you had +to_meter=0.3048006096012192. I think that my EPSG code is correct since my below email had the Linear Unit = Meter and +to_meter=0.3048006096012192 would mean the units was feet. John On Mon, Oct 6, 2008 at 1:01 PM, Roger André [EMAIL PROTECTED] wrote: Hi John, No guarantees that I got this right, but you could try adding the following entry to your FWTools/share/proj/epsg file: # Guatemala Transverse Mercator 001234 +proj=tmerc +x_0=50.00 +y_0=0 +lon_0=-90.5 +lat_0=0 +k=0.999800 +ellps=WGS84 +datum=WGS84 +to_meter=0.3048006096012192 +no_defs Then you should be able to acces it by using EPSG:001234 in your -s_srs parameters. Roger -- On Mon, Oct 6, 2008 at 7:10 AM, John Mitchell [EMAIL PROTECTED]wrote: Hi, How would I create an epsg code that can be used within the epsg file for fwtools and MapServer? Below is the information that I would like to use to create an epsg code. What would be format for the new epsg code? Is the information listed below enough to create an epsg code and if not what am I missing? *The 2001 data was originally in a Guatemalan Transverse Mercator coordinate system with the parameters shown below: Projection: Transverse Mercator False Easting: 50.00 False Northing: 0.00 Central Meridian: -90.50 Scale Factor: 0.999800 Latitude of Origin: 0.000 Linear Unit: Meter Geographic Coordinate System: GCS_WGS_1984 *Below is the gdalinfo listing for one of files that I would like to associate to this new epsg code: *Driver: GTiff/GeoTIFF Size is 11214, 7860 Coordinate System is `' Origin = (317049.000,**1659460.000) Pixel Size = (0.500,-0.**500) Metadata: AREA_OR_POINT=Area TIFFTAG_SOFTWARE=ERDAS IMAGINE TIFFTAG_XRESOLUTION=1 TIFFTAG_YRESOLUTION=1 TIFFTAG_RESOLUTIONUNIT=1 (unitless) Corner Coordinates: Upper Left ( 317049.000, 1659460.000) Lower Left ( 317049.000, 1655530.000) Upper Right ( 322656.000, 1659460.000) Lower Right ( 322656.000, 1655530.000) Center ( 319852.500, 1657495.000) Band 1 Block=11214x8 Type=Byte, ColorInterp=Red Band 2 Block=11214x8 Type=Byte, ColorInterp=Green Band 3 Block=11214x8 Type=Byte, ColorInterp=Blue* Thanks, -- John J. Mitchell ___ gdal-dev mailing list [EMAIL PROTECTED] http://lists.osgeo.org/mailman/listinfo/gdal-dev -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Re: can't derive the projection for a geotiff in Guatemala
The projection for the below listed gdalinfo file may be Guatemala Transverse Mercator (GTM). I looked in the epsg file and I could not find any EPSG code that had Guatemala Transverse Mercator (GTM). Does anyone know how I could build a new epsg code for Guatemala Transverse Mercator (GTM) that I can put within the epsg file? Thanks, John On Wed, Sep 24, 2008 at 4:03 PM, John Mitchell [EMAIL PROTECTED]wrote: Hi, I am having difficulty deriving the EPSG code/projection/Coordinate System for a geotiff in Guatemala. Any help would be appreciated. Below is the gdalinfo listing: Driver: GTiff/GeoTIFF Size is 11214, 7860 Coordinate System is `' Origin = (317049.000,1659460.000) Pixel Size = (0.500,-0.500) Metadata: AREA_OR_POINT=Area TIFFTAG_SOFTWARE=ERDAS IMAGINE TIFFTAG_XRESOLUTION=1 TIFFTAG_YRESOLUTION=1 TIFFTAG_RESOLUTIONUNIT=1 (unitless) Corner Coordinates: Upper Left ( 317049.000, 1659460.000) Lower Left ( 317049.000, 1655530.000) Upper Right ( 322656.000, 1659460.000) Lower Right ( 322656.000, 1655530.000) Center ( 319852.500, 1657495.000) Band 1 Block=11214x8 Type=Byte, ColorInterp=Red Band 2 Block=11214x8 Type=Byte, ColorInterp=Green Band 3 Block=11214x8 Type=Byte, ColorInterp=Blue Thanks, -- John J. Mitchell -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] can't derive the projection for a geotiff in Guatemala
Hi, I am having difficulty deriving the EPSG code/projection/Coordinate System for a geotiff in Guatemala. Any help would be appreciated. Below is the gdalinfo listing: Driver: GTiff/GeoTIFF Size is 11214, 7860 Coordinate System is `' Origin = (317049.000,1659460.000) Pixel Size = (0.500,-0.500) Metadata: AREA_OR_POINT=Area TIFFTAG_SOFTWARE=ERDAS IMAGINE TIFFTAG_XRESOLUTION=1 TIFFTAG_YRESOLUTION=1 TIFFTAG_RESOLUTIONUNIT=1 (unitless) Corner Coordinates: Upper Left ( 317049.000, 1659460.000) Lower Left ( 317049.000, 1655530.000) Upper Right ( 322656.000, 1659460.000) Lower Right ( 322656.000, 1655530.000) Center ( 319852.500, 1657495.000) Band 1 Block=11214x8 Type=Byte, ColorInterp=Red Band 2 Block=11214x8 Type=Byte, ColorInterp=Green Band 3 Block=11214x8 Type=Byte, ColorInterp=Blue Thanks, -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] legend [mapfile] [output image] where does the outputted file go to?
Hi, When running the following command: legend mapfilename.map output png where does the outputted file go to? Thanks, -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Style creation GUI for mapfiles
Hi, Is their a Style creation GUI available for Mapserver mapfiles? Thanks, -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] Instead of having an embedded class/style/label statement could a map file instead reference a .sld file?
Hi, Instead of having an embedded class/style/label statement like listed below could a map file instead reference a .sld file? Thanks, John CLASS STYLE COLOR 255 0 0 WIDTH 2 END LABEL COLOR 150 150 150 OUTLINECOLOR 255 255 255 FONT arial TYPE truetype SIZE 6 POSITION AUTO PARTIALS FALSE END END -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] attach text to displayed features that are coming from postgis
Hi, I would like to be able to attach text to displayed features that are coming from postgis. Currently I am just displaying points (layer displayed below) as an ellipse from postgis, but I would like to have text on top of each ellipse based on the contents of a field uniquely associated to each point. John LAYER # name of layer NAME gv:tasmania_cities GROUP Collaboration # what type of data is this? TYPE POINT # always returned with interface STATUS ON TRANSPARENCY 100 CONNECTIONTYPE postgis CONNECTION user=postgres dbname=gvdb host=localhost port=5432 password=password1117 DATA the_geom from tasmania_cities CLASS STYLE symbol dot SIZE 8 COLOR 0 0 0 END END END -- John J. Mitchell ___ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users
[mapserver-users] 256 color PNG vs png24 how do set up the 2 different formats within a map file
-> [mapserver-users] 256 color PNG vs png24 how do set up the 2 different f mapserver-users -- Thread -- -- Date -- <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> [mapserver-users] 256 color PNG vs png24 how do set up the 2 different formats within a map file John Mitchell Re: [mapserver-users] 256 color PNG vs png24 how do set up the 2different formats within a map file John Westwood Reply via email to <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> [mapserver-users] 256 color PNG vs png24 how do set up the 2 different formats within a map file John Mitchell Re: [mapserver-users] 256 color PNG vs png24 how do set up the 2different formats within a map file John Westwood Reply via email to <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> [mapserver-users] 256 color PNG vs png24 how do set up the 2 different formats within a map file John Mitchell Re: [mapserver-users] 256 color PNG vs png24 how do set up the 2different formats within a map file John Westwood Reply via email to <!-- google_ad_client = "pub-7266757337600734"; google_alternate_ad_url = "http://www.mail-archive.com/blank.png"; google_ad_width = 160; google_ad_height = 600; google_ad_format = "160x600_as"; google_ad_channel = "8427791634"; google_color_border = "FF"; google_color_bg = "FF"; google_color_link = "006792"; google_color_url = "006792"; google_color_text = "00"; //--> [mapserver-users] 256 color PNG vs png24 how do set up the 2 different formats within a map file John Mitchell Re: [mapserver-users] 256 color PNG vs png24 how do set up the 2different formats within a map file John Westwood Reply via email to