[mapserver-users] Data Query Issue
Weisbender, Eric
Weisbend at WAPA.GOV
Fri Jun 6 12:28:36 PDT 2014
I have all that info in my system. Below is what the data layer definitions look like and my map output projections is utm 13 nad 83 meters. I've pretty much tried everything I can think of. I always hit the mail list last.
LAYER
NAME "fire_modis"
METADATA
"qstring_validation_pattern" "."
END
TYPE point
STATUS OFF
DATA "/data/gis/vector/cso/fire_data/USA_contiguous_and_Hawaii_24h"
OPACITY ALPHA
CLASS
NAME "Active Fires / MODIS (NASA)"
TEXT "MODIS Fire"
STYLE
SYMBOL "donut"
COLOR 0 0 0
SIZE 16
WIDTH 2
END
STYLE
SYMBOL "http://gis.hq.wapa.gov/ms_common/fire_modis.png"
COLOR -1 -1 -1
SIZE 12
WIDTH 2
END
LABEL
COLOR 0 0 0
TYPE TRUETYPE
FONT 'arial-bold'
SIZE 8
POSITION UR
OFFSET 4 4
OUTLINECOLOR 255 255 255
MAXSCALEDENOM 300000
END
END
TEMPLATE "/data/gis/www/html/ms_common/fires_modis.html"
HEADER "/data/gis/www/html/ms_common/fires_modis_header.html"
FOOTER "/data/gis/www/html/ms_common/fires_modis_footer.html"
TOLERANCE 10
PROJECTION
"init=epsg:4326"
END
END
LAYER
NAME "fire_geomac"
METADATA
"qstring_validation_pattern" "."
END
TYPE point
STATUS OFF
DATA "/data/gis/vector/cso/fire_data/nifc_lrg_fires_dd83"
OPACITY ALPHA
LABELITEM "FIRE_NAME"
CLASS
NAME "Active Fires / GeoMAC (USGS)"
STYLE
SYMBOL "donut"
COLOR 240 0 0
SIZE 16
WIDTH 2
END
STYLE
SYMBOL "fire"
COLOR -1 -1 -1
SIZE 12
WIDTH 2
END
LABEL
COLOR 240 0 0
TYPE TRUETYPE
FONT 'arial-bold'
SIZE 8
POSITION LL
OFFSET 4 4
OUTLINECOLOR 255 255 255
FORCE TRUE
MAXSCALEDENOM 300000
END
END
TEMPLATE "/data/gis/www/html/ms_common/fires_geomac.html"
HEADER "/data/gis/www/html/ms_common/fires_geomac_header.html"
FOOTER "/data/gis/www/html/ms_common/fires_footer.html"
TOLERANCE 10
PROJECTION
"init=epsg:4269"
END
END
Thanks,
Eric Weisbender
GIS Program Lead
Western Area Power Administration
(720) 962-7280
weisbend at wapa.gov<mailto:weisbend at wapa.gov>
From: Basques, Bob (CI-StPaul) [mailto:bob.basques at ci.stpaul.mn.us]
Sent: 2014, June, 06 1:18 PM
To: Weisbender, Eric; mapserver-users at lists.osgeo.org
Subject: RE: Data Query Issue
Eric,
Add a PROJECTION/END block inside of Each layer (based on the raw data projection for each layer) and another at the map level for the projection you want to use for queries. Mapserver will just transform the locations for you on the fly when you make a query.
Bobb
From: mapserver-users-bounces at lists.osgeo.org<mailto:mapserver-users-bounces at lists.osgeo.org> [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Weisbender, Eric
Sent: Friday, June 06, 2014 1:56 PM
To: mapserver-users at lists.osgeo.org<mailto:mapserver-users at lists.osgeo.org>
Subject: [mapserver-users] Data Query Issue
Hello list,
I am auto downloading two different sets of fire point data. One comes in Geographic WGS84 the other in Geographic NAD83. When I draw both at the same time and try a Query by Rectangle only the last one defined in the mapfile returns info. If I reproject one to UTM then they both return information. This is an auto download every two hours so I would hate to have to mod the data. I'm using version 6.2.1. Query by point works fine. Any ideas are greatly appreciate.
Thanks
Eric
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20140606/ba3f57f1/attachment.htm>
More information about the MapServer-users
mailing list