STATUS DEFAULT forces the layer to by on regardless.
STATUS ON allows the laye to be turned on/off and in your request you
need to supply a list of layers to tuen on by name.
shp2img ... -l "my_layer1 my_layer_1"
or in CGI
layers=all&...
layers=my_layer1+my_layer2&...
-Steve
On 6/2/2014 4:10 PM, Stefanos Anastasiou wrote:
Thanks Bobb
One more thing... I noticed that if I enter the STATUS default it works
fine. But if I enter STATUS on the page is blank again.
Any idea why?
-Stefanos
Στις 8:26 μ.μ. Δευτέρα, 2 Ιουνίου 2014, ο/η "Basques, Bob (CI-StPaul)"
<[email protected]> έγραψε:
The Extent uses is based on the source data coordinates,, unless you
also provide a reprojection block in your mapfile/maplayers.
Bobb
*From:*[email protected]
[mailto:[email protected]] *On Behalf Of *Stefanos
Anastasiou
*Sent:* Monday, June 02, 2014 11:20 AM
*To:* Jeff McKenna; [email protected]
*Subject:* [mapserver-users] Σχετ: Σχετ: Σχετ: Mapserver can't read mapfile
Wow... I literally copied and pasted the coordinates to the EXTENT
parameter and it worked. Thank you very much..!! :-)
I though that the mapfile would only read coordinates that are in
Long/Lat format in WGS84. My coords were x,y format in Greek grid (EGSA
'87 - EPSG 2100). So I thought I could only import them in Lon/Lat.
Thanks a lot!
-Stefanos
Στις 7:07 μ.μ. Δευτέρα, 2 Ιουνίου 2014, ο/η Jeff McKenna
<[email protected] <mailto:[email protected]>>
έγραψε:
On 2014-06-02, 12:56 PM, Stefanos Anastasiou wrote:
Hi Jeff,
thanks for your reply.
- I indeed used the ogrinfo utility and I gave me the extent
in GCS_GGRS_1987. So I transformed the coordinates to WGS84.
I'm not sure what you mean here by "I transformed the coordinates".
Literally copy/paste the extents from ogrinfo into your EXTENT parameter
in your mapfile.
-jeff
--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/
_______________________________________________
mapserver-users mailing list
[email protected] <mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users