Re: [mapserver-users] WMS call with layer names containing a space.

2016-02-04 Thread Jeff McKenna

On 2016-02-04 3:10 PM, Basques, Bob (CI-StPaul) wrote:

done.

bobb



On Feb 4, 2016, at 11:19 AM, Jeff McKenna  wrote:

I was just reading a recent discussion on this, might be the same discussion 
(http://osgeo-org.1560.x6.nabble.com/Allowing-spaces-in-layer-names-WMS-WFS-td5213960.html).

Bob can you file a little test case for this (tiny mapfile, commands to use to 
test), as a new ticket on the MapServer tracker? 
https://github.com/mapserver/mapserver/issues  I can't find an existing ticket, 
so we might as well record one.

-jeff





Thanks Bob.  For everyone else, please help out in the ticket: 
https://github.com/mapserver/mapserver/issues/5232


-jeff




--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] compiling mapserver on ubuntu server

2016-02-04 Thread pedrocostaarma

Hi guys,

I want install last mapserver stable release (7) on ubuntu server.
Current there are no repo with binaries right?
Can someone point to me a good tutorial for compiling?

Thanks

 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] WMS call with layer names containing a space.

2016-02-04 Thread Basques, Bob (CI-StPaul)
done.

bobb


> On Feb 4, 2016, at 11:19 AM, Jeff McKenna  
> wrote:
> 
> I was just reading a recent discussion on this, might be the same discussion 
> (http://osgeo-org.1560.x6.nabble.com/Allowing-spaces-in-layer-names-WMS-WFS-td5213960.html).
> 
> Bob can you file a little test case for this (tiny mapfile, commands to use 
> to test), as a new ticket on the MapServer tracker? 
> https://github.com/mapserver/mapserver/issues  I can't find an existing 
> ticket, so we might as well record one.
> 
> -jeff
> 
> 
> 
> -- 
> Jeff McKenna
> MapServer Consulting and Training Services
> http://www.gatewaygeomatics.com/
> 
> 
> 

___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Re: [mapserver-users] WMS call with layer names containing a space.

2016-02-04 Thread TC Haddad
This came up last year and I don't know if it was ever resolved:

https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076870.html

https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076886.html


On Thu, Feb 4, 2016 at 8:44 AM, Basques, Bob (CI-StPaul) <
bob.basq...@ci.stpaul.mn.us> wrote:

> I was hoping there might be some tricky way of fooling MapServer by
> encoding, etc.
>
> bobb
>
>
> On Feb 4, 2016, at 10:39 AM, TC Haddad  wrote:
>
>
> When querying the TIGER server directly from a browser, the first and
> third styles of request both work, while the option with the "+" does not.
> So those are the 2 options the server will accept.
>
> I guess Mapserver prefers no space in a name, or a "+" to designate space,
> so you might be stuck.
>
> As a best practice, they really should have the version with a space in
> the Title rather than the Name, but you can't fix that from your end.
>
> On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul) <
> bob.basq...@ci.stpaul.mn.us> wrote:
>
>> All,
>>
>> I’m trying to use this WMS:
>>
>>
>> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>>
>> Specifically, two layers, “Census Tracts” and “Census Tracts Labels”
>>
>> I can open the service in just about everything, except Mapserver as a
>> WMS client.  I’m assuming the problem is in how MapServer is sending it’s
>> request.
>>
>>
>> I must be missing something obvious.
>>
>>
>> Thanks.
>>
>> bobb
>>
>>
>> Call1:
>>
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census
>> 
>> Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865
>> 
>>
>> error:
>>
>> Parameter ‘layers’ contains unacceptable layer names
>>
>>
>>
>> Call2 (use “+” for space):
>>
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census+Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865
>> 
>>
>> error:
>>
>> Parameter ‘layers’ contains unacceptable layer names
>>
>>
>>
>> Call3 (URL encoding “%20” ):
>>
>>
>> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census%20Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865
>> 
>>
>>
>> error:
>>
>> Parameter ‘layers’ contains unacceptable layer names
>>
>>
>>
>> ##Mapfile
>>
>> MAP
>>
>>   STATUS ON
>>
>>   LAYER
>> NAME "Census Tracts"
>> TYPE RASTER
>> STATUS DEFAULT
>>
>> CONNECTION "
>> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>> "
>>
>> CONNECTIONTYPE WMS
>> METADATA
>> "wms_srs" "EPSG:4326"
>> "wms_name" "Census Tracts"
>> "wms_server_version" "1.1.1"
>> #"wms_server_version" "1.3.0"
>> "wms_format" "image/png24"
>>
>> "ows_title" "Census Tracts"
>> #"gml_include_items" "all"
>> END
>> PROJECTION
>> "init=epsg:4326"
>> END
>>
>> TEMPLATE "dummy"
>>   END #layer
>>
>> ##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
>> ##DEBUG 5
>>
>> END
>>
>> ___
>> 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] WMS call with layer names containing a space.

2016-02-04 Thread Basques, Bob (CI-StPaul)
I was hoping there might be some tricky way of fooling MapServer by encoding, 
etc.

bobb


On Feb 4, 2016, at 10:39 AM, TC Haddad 
> wrote:


When querying the TIGER server directly from a browser, the first and third 
styles of request both work, while the option with the "+" does not. So those 
are the 2 options the server will accept.

I guess Mapserver prefers no space in a name, or a "+" to designate space, so 
you might be stuck.

As a best practice, they really should have the version with a space in the 
Title rather than the Name, but you can't fix that from your end.

On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul) 
> wrote:
All,

I’m trying to use this WMS:

http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?

Specifically, two layers, “Census Tracts” and “Census Tracts Labels”

I can open the service in just about everything, except Mapserver as a WMS 
client.  I’m assuming the problem is in how MapServer is sending it’s request.


I must be missing something obvious.


Thanks.

bobb


Call1:

http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census
 
Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865

error:

Parameter ‘layers’ contains unacceptable layer names



Call2 (use “+” for space):

http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census+Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865

error:

Parameter ‘layers’ contains unacceptable layer names



Call3 (URL encoding “%20” ):

http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census%20Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865


error:

Parameter ‘layers’ contains unacceptable layer names



##Mapfile

MAP

  STATUS ON

  LAYER
NAME "Census Tracts"
TYPE RASTER
STATUS DEFAULT

CONNECTION 
"http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?;

CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Census Tracts"
"wms_server_version" "1.1.1"
#"wms_server_version" "1.3.0"
"wms_format" "image/png24"

"ows_title" "Census Tracts"
#"gml_include_items" "all"
END
PROJECTION
"init=epsg:4326"
END

TEMPLATE "dummy"
  END #layer

##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
##DEBUG 5

END

___
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] WMS call with layer names containing a space.

2016-02-04 Thread Jeff McKenna
I was just reading a recent discussion on this, might be the same 
discussion 
(http://osgeo-org.1560.x6.nabble.com/Allowing-spaces-in-layer-names-WMS-WFS-td5213960.html).


Bob can you file a little test case for this (tiny mapfile, commands to 
use to test), as a new ticket on the MapServer tracker? 
https://github.com/mapserver/mapserver/issues  I can't find an existing 
ticket, so we might as well record one.


-jeff



--
Jeff McKenna
MapServer Consulting and Training Services
http://www.gatewaygeomatics.com/



On 2016-02-04 12:51 PM, TC Haddad wrote:

This came up last year and I don't know if it was ever resolved:

https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076870.html

https://lists.osgeo.org/pipermail/mapserver-users/2014-August/076886.html


On Thu, Feb 4, 2016 at 8:44 AM, Basques, Bob (CI-StPaul)
> wrote:

I was hoping there might be some tricky way of fooling MapServer by
encoding, etc.

bobb



On Feb 4, 2016, at 10:39 AM, TC Haddad > wrote:


When querying the TIGER server directly from a browser, the first
and third styles of request both work, while the option with the
"+" does not. So those are the 2 options the server will accept.

I guess Mapserver prefers no space in a name, or a "+" to
designate space, so you might be stuck.

As a best practice, they really should have the version with a
space in the Title rather than the Name, but you can't fix that
from your end.

On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul)
>
wrote:

All,

I’m trying to use this WMS:


http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?

Specifically, two layers, “Census Tracts” and “Census Tracts
Labels”

I can open the service in just about everything, except
Mapserver as a WMS client.  I’m assuming the problem is in how
MapServer is sending it’s request.


I must be missing something obvious.


Thanks.

bobb


Call1:


http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census

Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865



error:

Parameter ‘layers’ contains unacceptable layer names



Call2 (use “+” for space):


http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census+Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865



error:

Parameter ‘layers’ contains unacceptable layer names



Call3 (URL encoding “%20” ):


http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census%20Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865




error:

Parameter ‘layers’ contains unacceptable layer names



##Mapfile

MAP

STATUS ON

LAYER
NAME "Census Tracts"
TYPE RASTER
STATUS DEFAULT

CONNECTION

"http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?;

CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Census Tracts"
"wms_server_version" "1.1.1"
#"wms_server_version" "1.3.0"
"wms_format" "image/png24"

"ows_title" "Census Tracts"
#"gml_include_items" "all"
END
PROJECTION
"init=epsg:4326"
END

TEMPLATE "dummy"
END #layer

##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
##DEBUG 5

END



___
mapserver-users mailing list
mapserver-users@lists.osgeo.org

Re: [mapserver-users] WMS call with layer names containing a space.

2016-02-04 Thread TC Haddad
When querying the TIGER server directly from a browser, the first and third
styles of request both work, while the option with the "+" does not. So
those are the 2 options the server will accept.

I guess Mapserver prefers no space in a name, or a "+" to designate space,
so you might be stuck.

As a best practice, they really should have the version with a space in the
Title rather than the Name, but you can't fix that from your end.

On Thu, Feb 4, 2016 at 7:50 AM, Basques, Bob (CI-StPaul) <
bob.basq...@ci.stpaul.mn.us> wrote:

> All,
>
> I’m trying to use this WMS:
>
>
> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
>
> Specifically, two layers, “Census Tracts” and “Census Tracts Labels”
>
> I can open the service in just about everything, except Mapserver as a WMS
> client.  I’m assuming the problem is in how MapServer is sending it’s
> request.
>
>
> I must be missing something obvious.
>
>
> Thanks.
>
> bobb
>
>
> Call1:
>
>
> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census
> 
> Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865
> 
>
> error:
>
> Parameter ‘layers’ contains unacceptable layer names
>
>
>
> Call2 (use “+” for space):
>
>
> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census+Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865
> 
>
> error:
>
> Parameter ‘layers’ contains unacceptable layer names
>
>
>
> Call3 (URL encoding “%20” ):
>
>
> http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census%20Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865
> 
>
>
> error:
>
> Parameter ‘layers’ contains unacceptable layer names
>
>
>
> ##Mapfile
>
> MAP
>
>   STATUS ON
>
>   LAYER
> NAME "Census Tracts"
> TYPE RASTER
> STATUS DEFAULT
>
> CONNECTION "
> http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?
> "
>
> CONNECTIONTYPE WMS
> METADATA
> "wms_srs" "EPSG:4326"
> "wms_name" "Census Tracts"
> "wms_server_version" "1.1.1"
> #"wms_server_version" "1.3.0"
> "wms_format" "image/png24"
>
> "ows_title" "Census Tracts"
> #"gml_include_items" "all"
> END
> PROJECTION
> "init=epsg:4326"
> END
>
> TEMPLATE "dummy"
>   END #layer
>
> ##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
> ##DEBUG 5
>
> END
>
> ___
> 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] RE compiling mapserver on ubuntu server

2016-02-04 Thread Steve . Toutant
Mapserver doc
http://mapserver.org/installation/unix.html




pedrocostaa...@sapo.pt@lists.osgeo.org 
Envoyé par : "mapserver-users" 
2016-02-04 10:11

A
mapserver-users@lists.osgeo.org
cc

Objet
[mapserver-users] compiling mapserver on ubuntu server








Hi guys,

I want install last mapserver stable release (7) on ubuntu server.
Current there are no repo with binaries right?
Can someone point to me a good tutorial for compiling?

Thanks

 ___
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] WMS call with layer names containing a space.

2016-02-04 Thread Basques, Bob (CI-StPaul)
All,

I’m trying to use this WMS:

http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?

Specifically, two layers, “Census Tracts” and “Census Tracts Labels”

I can open the service in just about everything, except Mapserver as a WMS 
client.  I’m assuming the problem is in how MapServer is sending it’s request.


I must be missing something obvious.


Thanks.

bobb


Call1:

http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census
 
Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865

error:

Parameter ‘layers’ contains unacceptable layer names



Call2 (use “+” for space):

http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census+Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865

error:

Parameter ‘layers’ contains unacceptable layer names



Call3 (URL encoding “%20” ):

http://gis.ci.stpaul.mn.us/datasets/BOUNDARIES/CENSUS/TRACTS/census_tracts_wms.map?FORMAT=image%2Fpng=TRUE=WMS=1.1.1=GetMap==Census%20Tracts&_OLSALT=0.8675355401581306=EPSG%3A4326=-93.239,44.892,-92.977,44.993=1557=865


error:

Parameter ‘layers’ contains unacceptable layer names



##Mapfile

MAP

  STATUS ON

  LAYER
NAME "Census Tracts"
TYPE RASTER
STATUS DEFAULT

CONNECTION 
"http://tigerweb.geo.census.gov/arcgis/services/TIGERweb/tigerWMS_ACS2015/MapServer/WMSServer?;

CONNECTIONTYPE WMS
METADATA
"wms_srs" "EPSG:4326"
"wms_name" "Census Tracts"
"wms_server_version" "1.1.1"
#"wms_server_version" "1.3.0"
"wms_format" "image/png24"

"ows_title" "Census Tracts"
#"gml_include_items" "all"
END
PROJECTION
"init=epsg:4326"
END

TEMPLATE "dummy"
  END #layer

##CONFIG "MS_ERRORFILE" "/tmp/trying2.txt"
##DEBUG 5

END
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

[mapserver-users] WMS layer name with spaces

2016-02-04 Thread Carlos Ruiz
I just have read about the problem when calling a WMS layer from a map file 
which has spaces in the layer's name and I want to help. I already have a local 
WMS server with Mapserver, I have several layers with spaces in their name, and 
I have made a .MAP file to test as as a WMS client. It works just fine when the 
layer name has spaces. However, when I tried to test a layer which has an 
accent in a vowel it fails.

I suppose that ArcGIS server is not decoding the URL properly (%20 for " ").___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users