[mapserver-users] MAXSIZE on Windows

2013-05-08 Thread Luís de Sousa
Dear all,

I have set up MapServer for the first time on Windows using MS4W, and the
installation itself went well. I then tried to set up a map file and
retrieve the data with QGis. No matter what I always get an error like this:

msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH
and HEIGHT must be between 1 and 32736 pixels.

I'm using map files that I use in Linux without needing to set MAXSIZE. On
Windows not only it seems to be necessary, it seems also to require a large
figure. Anyone knows what size should be set? Or is this error being caused
by something else?

Thank you,

Luis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS in MapServer?

2013-05-08 Thread saka royban
I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not
understands MAXFEATURES parameter correctly.
No matter MAXFEATURES specified by client or in map file and no matter what
number specified for MAXFEATURES , mapserver always returns less features
than MAXFEATURES (in response to GetFeature request). 
If i use MAXFEATURES without any filter, mapserver acts correctly and
returned features exactly equals MAXFEATURES. But when i specify a filter,
the problem shows up. If i don't use MAXFEATURES parameter, mapserver
returns all records which satisfy the filter. If i use a MAXFEATURES in
client request (wheter it's a direct GET request or a request made by
OpenLayers), or if i use MAXFEATURES in Layer level, or if i use
wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned
result by mapserver always is less than the number specified for MAXFEATURES
(I'm sure that more features satisfy the filter). There is no error in debug
file. I've also changed the data source (to another shapefile) but again no
help.
Then, i decided to test prevoius versions of MSW. I transfered my app from
MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED.
It takes me a long time to understand that the problem goes back to windows
version of mapserver, not my configurations.
It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug
submitting. So, someone professional inform those guys (maybe Jeff Mckenna)
at mapTools about it instead, please.

Best Regards




--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052119.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MAXSIZE on Windows

2013-05-08 Thread Fawcett, David (MNIT)
Louis, 

I am guessing that QGIS is requesting an image that is too large.  You might 
try enabling debugging to see the WMS request that QGIS is sending.  I think 
that with a high debug level it should log the request.

http://mapserver.org/optimization/debugging.html

David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Luís de Sousa
Sent: Wednesday, May 08, 2013 9:40 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MAXSIZE on Windows

Dear all,

I have set up MapServer for the first time on Windows using MS4W, and the 
installation itself went well. I then tried to set up a map file and retrieve 
the data with QGis. No matter what I always get an error like this:

msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and 
HEIGHT must be between 1 and 32736 pixels.

I'm using map files that I use in Linux without needing to set MAXSIZE. On 
Windows not only it seems to be necessary, it seems also to require a large 
figure. Anyone knows what size should be set? Or is this error being caused by 
something else?

Thank you,

Luis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
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] Connecting custom MAPSERVER using OSM droid help.

2013-05-08 Thread Hishan Melanga
 Hello, I'm trying to connect my android application to a mapserver
installed in a Window OS. I know how to connect to Mapnik and render
tiles from there and update my location using OSMDROID. Please help me
to accomplish this task. It is really helpful if anybody can give me a
sample code. Thanks in advance.

--
හිෂාන් මෙලංග | Hishan Melanga
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS in MapServer?

2013-05-08 Thread Jeff McKenna
Hello,

You can also test with the latest MapServer/MS4W beta release (see
http://lists.maptools.org/pipermail/ms4w-users/2013-April/002230.html).

Enjoy,

-jeff



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



On 2013-05-08 12:01 PM, saka royban wrote:
 I was nearly going mad. I couldn't understand why mapserver (=MS4W) does not
 understands MAXFEATURES parameter correctly.
 No matter MAXFEATURES specified by client or in map file and no matter what
 number specified for MAXFEATURES , mapserver always returns less features
 than MAXFEATURES (in response to GetFeature request). 
 If i use MAXFEATURES without any filter, mapserver acts correctly and
 returned features exactly equals MAXFEATURES. But when i specify a filter,
 the problem shows up. If i don't use MAXFEATURES parameter, mapserver
 returns all records which satisfy the filter. If i use a MAXFEATURES in
 client request (wheter it's a direct GET request or a request made by
 OpenLayers), or if i use MAXFEATURES in Layer level, or if i use
 wfs_MAXFEATURES in Web object (in Map level or Layer level), the returned
 result by mapserver always is less than the number specified for MAXFEATURES
 (I'm sure that more features satisfy the filter). There is no error in debug
 file. I've also changed the data source (to another shapefile) but again no
 help.
 Then, i decided to test prevoius versions of MSW. I transfered my app from
 MS4W 3.0.6 (mapserver 6.0.2) to MS4W 3.0.1 (mapserver 5.6.6) and IT WORKED.
 It takes me a long time to understand that the problem goes back to windows
 version of mapserver, not my configurations.
 It sounds a bug for MS4W. I'm a novince and unaware of procedures for bug
 submitting. So, someone professional inform those guys (maybe Jeff Mckenna)
 at mapTools about it instead, please.
 
 Best Regards
 
 

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


[mapserver-users] Fwd: Tools for automatically generate mapfiles

2013-05-08 Thread Luis Mejia
Hello all,
I'm newbie in this mailing list and I'm interested to know what tools
automatically generate mapfiles. So far, only I know two, gvSIG and Quantum
GIS. anyone knows other? anyone knows some web site?

I am interested in develop a web site for automatically generate mapfiles.
it's something similiar to online css's code generators

Thanks in advance
PD: Excuse me my poor english.

-- 
Luis Miguel Mejía Martínez
Estudiante Ing. de Sistemas
Universidad de Cartagena
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] WFS in MapServer?

2013-05-08 Thread saka royban
Jeff
I tested MS4W 3.1.0 beta and it works fine regarding my issue, i.e. no
problem.
I'm gonna continue using this version.

Regards



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/WFS-in-MapServer-tp5050005p5052163.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] MAXSIZE on Windows

2013-05-08 Thread Rahkonen Jukka
Hi,

First thing to do is really to check the GetMap request which is sent by QGis. 
Setting DEBUG on is good general suggestion, but all the WMS requests from the 
clients go always directly into Apache access log in 
\ms4w\Apache\logs\access.log and you can find them from there.

Check the WIDTH and HEIGHT values from the failing request. I guess that the 
problem is in how QGis detects the extents of the WMS layer. I also guess that 
if you'll make a try with OpenJUMP you will not face the same error.

-Jukka Rahkonen-

 Fawcett, David wrote:

 Louis,

 I am guessing that QGIS is requesting an image that is too large.  You might 
 try enabling debugging to see the WMS request that QGIS is sending.  I think 
 that with a high debug level it should log the request.

 http://mapserver.org/optimization/debugging.html

 David.

-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Luís de Sousa
Sent: Wednesday, May 08, 2013 9:40 AM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] MAXSIZE on Windows

Dear all,

I have set up MapServer for the first time on Windows using MS4W, and the 
installation itself went well. I then tried to set up a map file and retrieve 
the data with QGis. No matter what I always get an error like this:

msWMSLoadGetMapParams(): WMS server error. Image size out of range, WIDTH and 
HEIGHT must be between 1 and 32736 pixels.

I'm using map files that I use in Linux without needing to set MAXSIZE. On 
Windows not only it seems to be necessary, it seems also to require a large 
figure. Anyone knows what size should be set? Or is this error being caused by 
something else?

Thank you,

Luis



--
View this message in context: 
http://osgeo-org.1560.x6.nabble.com/MAXSIZE-on-Windows-tp5052107.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
___
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 mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Is there still a 2GB size limit on shapefiles?

2013-05-08 Thread Roger André
Pretty sure I just hit this
http://trac.osgeo.org/mapserver/ticket/3514 problem
in my 6.0.3 local stack.  I haven't tested it in the current release, but
does anyone know for sure that a shapefile with any component larger than
2GB works in 6.2?

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


Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?

2013-05-08 Thread Andrea Peri
If it don't work you should evalute the option to use spatialite.
It work well with dataset greater than 2GB .
I use it with mapserver 6.3dev and gdal 1.10.



2013/5/9 Roger André ran...@gmail.com

 Pretty sure I just hit this http://trac.osgeo.org/mapserver/ticket/3514 
 problem
 in my 6.0.3 local stack.  I haven't tested it in the current release, but
 does anyone know for sure that a shapefile with any component larger than
 2GB works in 6.2?

 Roger

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




-- 
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Fwd: Tools for automatically generate mapfiles

2013-05-08 Thread Daniel Morissette

Hi Luis,

For your information we (Mapgears) have worked internally on a web-based 
GUI to edit and maintain mapfiles called ScribeUI. This tool allows 
editing mapfiles in three different syntax:

 - regular/raw mapfile syntax
 - basemaps generate_style.py syntax 
(https://github.com/mapserver/basemaps)
 - and Scribe syntax 
(http://www.mapgears.com/en/blog/archive/2013-03-12-scribe)


Unfortunately it is still an internal tool and needs some work before we 
can publish it. However, a student has submitted a Google Summer of Code 
(GSoC) proposal to take this internal project, polish and finish it, 
test and package it and make it available as an open source component to 
the MapServer community.


The GSoC proposals are currently being evaluated, and the final decision 
date is May 27. If the project is selected the you can expect some news 
on this list about the plans in early June. The goal is to make this a 
collaborative project in order to help make it more sustainable in the 
long run, so contributors such as you would be much welcome.


Best Regards

Daniel


On 13-05-08 11:55 AM, Luis Mejia wrote:

Hello all,
I'm newbie in this mailing list and I'm interested to know what tools
automatically generate mapfiles. So far, only I know two, gvSIG and
Quantum GIS. anyone knows other? anyone knows some web site?

I am interested in develop a web site for automatically generate
mapfiles. it's something similiar to online css's code generators

Thanks in advance
PD: Excuse me my poor english.

--
Luis Miguel Mejía Martínez
Estudiante Ing. de Sistemas
Universidad de Cartagena



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




--
Daniel Morissette
http://www.mapgears.com/
Provider of Professional MapServer Support since 2000

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


Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?

2013-05-08 Thread Rahkonen Jukka
Hi,

I am not sure either if reading 2GB shapefiles works with the native shp 
reader on all platforms, but as the ticket says, you should be able to use OGR 
connection in the mapfile even with your current version. If you use OGR you 
can also split the shapefile into pieces and read them through the ogr 
tileindex system which may be faster sometimes.

-Jukka Rahkonen-


Andrea Peri wrote:

 If it don't work you should evalute the option to use spatialite.
 It work well with dataset greater than 2GB .
 I use it with mapserver 6.3dev and gdal 1.10.



2013/5/9 Roger André ran...@gmail.commailto:ran...@gmail.com
Pretty sure I just hit thishttp://trac.osgeo.org/mapserver/ticket/3514 
problem in my 6.0.3 local stack.  I haven't tested it in the current release, 
but does anyone know for sure that a shapefile with any component larger than 
2GB works in 6.2?

Roger

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




--
-
Andrea Peri
. . . . . . . . .
qwerty àèìòù
-
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Is there still a 2GB size limit on shapefiles?

2013-05-08 Thread Stephen Woodbridge
In general the shapefile spec is owned by ERSI and unless they change 
the spec you will have a problem. Last I knew, there are 
pointers/offsets inside the shapefile that are only 32bits wide per the 
spec. it is because of these that you are limited to 2GB.


At some point I thought Frank W or someone was working on a version of 
shapelib that could support greater than 2GB, but only programs that 
used that version would be able to read/write these larger files. I have 
not heard anything on that front in a while so I don't know if that was 
just talk, or code ever materialized.


-Steve W

On 5/9/2013 12:32 AM, Rahkonen Jukka wrote:

Hi,

I am not sure either if reading 2GB shapefiles works with the native
shp reader on all platforms, but as the ticket says, you should be
able to use OGR connection in the mapfile even with your current
version. If you use OGR you can also split the shapefile into pieces
and read them through the ogr tileindex system which may be faster
sometimes.

-Jukka Rahkonen-

 Andrea Peri wrote:


If it don't work you should evalute the option to use spatialite.
It work well with dataset greater than 2GB . I use it with
mapserver 6.3dev and gdal 1.10.




2013/5/9 Roger André ran...@gmail.commailto:ran...@gmail.com
Pretty sure I just hit
thishttp://trac.osgeo.org/mapserver/ticket/3514 problem in my 6.0.3
local stack.  I haven't tested it in the current release, but does
anyone know for sure that a shapefile with any component larger than
2GB works in 6.2?

Roger

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



http://lists.osgeo.org/mailman/listinfo/mapserver-users





-- - Andrea Peri . . . . . . . . . qwerty àèìòù
- ___
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] Is there still a 2GB size limit on shapefiles?

2013-05-08 Thread Roger André
Very interesting to know this. Thank you all for the feedback.

I did use the OGR connector and it worked fine, but I assumed the native
reader was faster.
On May 8, 2013 9:53 PM, Stephen Woodbridge wood...@swoodbridge.com
wrote:

 In general the shapefile spec is owned by ERSI and unless they change the
 spec you will have a problem. Last I knew, there are pointers/offsets
 inside the shapefile that are only 32bits wide per the spec. it is because
 of these that you are limited to 2GB.

 At some point I thought Frank W or someone was working on a version of
 shapelib that could support greater than 2GB, but only programs that used
 that version would be able to read/write these larger files. I have not
 heard anything on that front in a while so I don't know if that was just
 talk, or code ever materialized.

 -Steve W

 On 5/9/2013 12:32 AM, Rahkonen Jukka wrote:

 Hi,

 I am not sure either if reading 2GB shapefiles works with the native
 shp reader on all platforms, but as the ticket says, you should be
 able to use OGR connection in the mapfile even with your current
 version. If you use OGR you can also split the shapefile into pieces
 and read them through the ogr tileindex system which may be faster
 sometimes.

 -Jukka Rahkonen-

 __**__ Andrea Peri wrote:

  If it don't work you should evalute the option to use spatialite.
 It work well with dataset greater than 2GB . I use it with
 mapserver 6.3dev and gdal 1.10.




 2013/5/9 Roger André 
 ran...@gmail.commailto:randr**e...@gmail.comran...@gmail.com
 
 Pretty sure I just hit
 thishttp://trac.osgeo.org/**mapserver/ticket/3514http://trac.osgeo.org/mapserver/ticket/3514
 problem in my 6.0.3
 local stack.  I haven't tested it in the current release, but does
 anyone know for sure that a shapefile with any component larger than
 2GB works in 6.2?

 Roger

 __**_ mapserver-users
 mailing list
 mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org
 mailto:mapserver-users@**lists.osgeo.orgmapserver-users@lists.osgeo.org
 


  
 http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users





 -- - Andrea Peri . . . . . . . . . qwerty àèìòù
 - __**_
 mapserver-users mailing list 
 mapserver-users@lists.osgeo.**orgmapserver-users@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users


 __**_
 mapserver-users mailing list
 mapserver-users@lists.osgeo.**org mapserver-users@lists.osgeo.org
 http://lists.osgeo.org/**mailman/listinfo/mapserver-**usershttp://lists.osgeo.org/mailman/listinfo/mapserver-users

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