All,
I think I've run into this in the past, but . . .
Is there a limit on the SIZE value in LABEL block? I seem to be hitting a wall
at anything over 250
bobb
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/ma
I had an extent of 0 0 360 120 (units inches, 10ftx30ft)
Anyway, I think I tried zooming in to 50 50 80 80 and the "80" values seem to
have been the problem. I can send the actual link tomorrow if you want I have
it in browser cache at the other desk.
I set the Map projection to 4326 and it a
MapServer has no default, it's just uses a simple Cartesian coordinate system.
HOWEVER, the CGI does have some hooks that tries to auto-detect lat/lon
coordinates and automatically convert them to what's set in the MAP's
projection block. I believe that only kicks in if there is a projection blo
All,
So I was trying to just display some data without a coordinate system assigned.
And I ended up eventually getting a LAT/LON (out of range) error. Once I set
the projection in the MAP block to something resembling a XY projection, all
was well.
I suspect that LAT/LON is the default? Is
The difference is MapServer version, not Ubuntu. You *must* define a validation
pattern (a regex) for qstring values. In either the web or layer block
(depending on your app) you'd do something like:
VALIDATION
'qstring' '^\/ESD-[0-9]*\/i$'
END
Depends on what sort of values you might see of
I recently upgraded to Ubuntu 14.04 with no visible issues.
The url below is generated in my web page code and is sent to the mapserver:
http://hawken.sdsmt.edu/cgi-bin/mapserv?mode=itemnquery&qformat=png&map=/gisdata/sd/sd_x-printform.map&qlayer=surveys&qitem=archive&qstring=/ESD-0498/i&layer=si
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:1
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)"
έγραψε:
The Extent uses is based on the source dat
The Extent uses is based on the source data coordinates,, unless you also
provide a reprojection block in your mapfile/maplayers.
Bobb
From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Stefanos
Anastasiou
Sent: Monday, June 02, 2014 1
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 c
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 c
Correction about the last one: I had a typo in the path when running the
mapfile straight in the browser. The correct is
http://127.0.0.1/cgi-bin/mapserv?map=/home/stefanos/mapdata/dasarxeia.map&mode=map
and it still appears a blank page.
-Stefanos
Στις 6:57 μ.μ. Δευτέρα, 2 Ιουνίου 2014, ο/η
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 also had my moved my data one folder up (that is also my Shapepath
/home/mapdata/data/) just to make sure.
-The output of "shp2img -m d
Hi Stefanos,
Some comments:
- the best way to get the exact extent is to use the ogrinfo commandline
utility with the "-summary" switch:
ogrinfo dasarxeia.shp dasarxeia -summary
- be careful with your SHAPEPATH, if your file is
/home/mapdata/data/dasarxeia.shp then I would put for your SHAPEP
Hi Steve,
yes they are bot set. The whole mapfile looks like this.
MAP
NAME "Dasarxeia"
UNITS DD
SIZE 800 600
IMAGECOLOR 255 255 255
IMAGETYPE JPEG
SHAPEPATH "/home/mapdata/data/dasarxeia"
EXTENT 17.00 33.00 32.00 42.00
WEB
TEMPLATE "/usr/local/apache2/htdocs/dasarxeia.html"
IMAGEPATH "/us
This is already specified :-(
Thx anyway
On 2. lip. 2014., at 11:41, Eichner, Andreas - SID wrote:
> Since cache and source are basically unrelated it's probably a good idea to
> specify the request format in the source:
>
>
>
>
>1.1.1
>image/png
>
Since cache and source are basically unrelated it's probably a good idea to
specify the request format in the source:
1.1.1
image/png
layerA,layerB
TRUE
application/vnd.ogc.se_xml
http:
Hi,
I just started playing with MapCache so this could be a pretty newbie
question...
I have a layer with transparency set, but my tiles, as I can see in filesystem,
are stored with no transparency. When using mapcache wms demo, I get
correct/transparent images but only after first getting non
18 matches
Mail list logo