[mapserver-users] Disable WMS 1.3.0-Support in MS 5.6.3

2010-04-29 Thread Stephan Holl
Hello,

ist it possible to disable the support for WMS 1.3.0 with a
configuration switch right now?
It could be handy for some of my usecases.

Curios.

TIA

Beste Grüße

Stephan

-- 
Stephan Holl  | Tel.: +49 (0)541-33 508 3663
Intevation GmbH, Neuer Graben 17, 49074 OS  |  AG Osnabrück - HR B 18998
Geschäftsführer:  Frank Koormann, Bernhard Reiter, Dr. Jan-Oliver Wagner


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


[mapserver-users] Re: WMS and tiles cutting off

2010-04-29 Thread kaipi

Hi,

you can use  http://tilecache.org/ Tilecache   with the option metatiling
enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.
4096x4096) from Mapserver and will cut them into smaller tiles (eg.
256x256). It will also increase performance because Mapserver does not need
to render tiles when they are already in cache.

kaipi
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.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] Disable WMS 1.3.0-Support in MS 5.6.3

2010-04-29 Thread Yewondwossen Assefa

Stephan Holl wrote:

Hello,

ist it possible to disable the support for WMS 1.3.0 with a
configuration switch right now?
It could be handy for some of my usecases.

  

Hi Stephan,

Not that I know of. It would be possible to add as enhancement a way to 
set/read in the map file the default wms version in case the request url 
does not have a version set. Right now it defaults to the latest 
supported version (1.3.0).


regards,


Curios.

TIA

Beste Grüße

Stephan

  



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



--

Assefa Yewondwossen   
Software Analyst   

Email: yass...@dmsolutions.ca
http://www.dmsolutions.ca/


Phone: (613) 565-5056 (ext 14)
Fax:   (613) 565-0925



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


[mapserver-users] color has gone when I zoomed

2010-04-29 Thread ahmet temiz
hello

I use an image as symbol in a class. But I noticed that
its color has gone when I zoomed the map

why might it happen ?

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


Re: [mapserver-users] Mapscript Rasterquery returns empty result

2010-04-29 Thread Frank Warmerdam

Tom van der Putte wrote:

Hi,

I have the following code:

$oMap->prepareQuery();
$oPoint = ms_newPointObj();
$oPoint->setXY($x,$y);   //coords received from a AJAX call


$oLayer = $oMap->GetLayerByName($szLayer); //Name received from a AJAX call
$status = $oLayer->queryByPoint($oPoint, MS_MULTIPLE, 1);
$status = $oLayer->open();
$result = $oLayer->getResult(0);
$numResults = $oLayer->getNumResults();
$shape = $oLayer->getShape($result->shapeindex,$result->tileindex);
echo(var2json($shape));

This results in the follwing json code to be returned:

|{"_handle_":Resource id #45,"numlines":1,"type":0,"index":-1,

"tileindex":-1,"classindex":0,"numvalues":8,"text":"",

"bounds":{"_handle_":Resource id #46,"minx":607000,

"miny":677000,"maxx":607000,"maxy":677000},

"values":[null,null,null,null,null,null,null,null]}|

No matter what I try, it keeps returning empty shapes. How can this be?


Tom,

I agree with Alexander that you should be carefully reviewing your
input coordinate and insuring it is in the same coordinate system
as the raster file.  The returned values are expected if you are
attempting to fetch a non-existant result shape.

If you simplify your test case down as much as you can and you still
can't figure out why you do not get a result then you could try to
bundle this up and submit it as a ticket.  Keep in mind that such a
ticket is much more likely to be acted on if you make it *easy* for
the developer to reproduce your problem.

Best regards,
--
---+--
I set the clouds in motion - turn up   | Frank Warmerdam, warmer...@pobox.com
light and sound - activate the windows | http://pobox.com/~warmerdam
and watch the world go round - Rush| Geospatial Programmer for Rent

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


[mapserver-users] enable-debug in mapscript? getting a "cannot load module" error

2010-04-29 Thread Burgholzer, Robert (DEQ)
This error message does not seem to agree.  Is there a specific
directive to enable debugging in mapscript that I missed?

ERROR:
PHP Warning:  PHP Startup: MapScript: Unable to initialize module
Module compiled with module API=20060613, debug=0, thread-safety=1
PHPcompiled with module API=20060613, debug=1, thread-safety=1
These options need to match

CONFIGURE:
./configure --with-wfs --with-wmsclient
--with-php=/home/rob/src/php-5.2.11 --with-postgis --with-wfsclient
--with-wms --with-postgis --with-gdal --with-ogr --with-geos --with-proj
--enable-debug

Thanks,
r.b.

Robert W. Burgholzer
Surface Water Modeler
Office of Water Supply and Planning
Virginia Department of Environmental Quality
rwburghol...@deq.virginia.gov
804-698-4405
Open Source Modeling Tools:
http://sourceforge.net/projects/npsource/

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


[mapserver-users] Re: Invalid Layer(s) in Layer parameter

2010-04-29 Thread Tonton
> Hello
>
> i try to make WebMapping with mapserver/Openlayer
>
> i meet some trouble with projection and extent  because i have blank map in
> Qgis request
> it is working on SIS cardcorp
>
> *with getmap request *
>
> http://geomap/cgi-bin/mapserv?map=/var/www/geomod/test.map&SERVICE=WMS&VERSION=
> *1.1.1*&REQUEST=GetMap&LAYERS=Parcelles :
> −
> 
> msWMSLoadGetMapParams(): WMS server error. *Missing required parameter SRS
> *
> 
> 
>
>
> http://geomap/cgi-bin/mapserv?map=/var/www/geomod/test.map&SERVICE=WMS&VERSION=
> *1.3.0*&REQUEST=GetMap&LAYERS=Parcelles :
> http://www.opengis.net/ogc
> http://schemas.opengis.net/wms/1.3.0/exceptions_1_3_0.xsd";>−
> 
> msWMSLoadGetMapParams(): WMS server error. *Missing required parameter CRS
> *
> 
> 
>
>
>
> *in openlayer:*
>
> WMS server error Invalid Layer(s) given in LAYER parameter
>
> May be i forgot somthing to define in my web or layer Object ?
>
> *This is ma web object *
>  WEB
> MINSCALEDENOM 1000
> MAXSCALEDENOM 155
>
> #Modifier cette ligne selon votre installation
> IMAGEPATH "/var/www/geomod/tmp/"
> IMAGEURL "./tmp/"
> METADATA
> WMS_TITLE "WMS Geomod default Title "
> WMS_ABSTRACT "Wms Geomod default Description "
> WMS_ACCESSCONSTRAINTS "None"
>
> #Modifier cette ligne selon votre installation
> WMS_ONLINERESOURCE "
> http://192.168.12.109/cgi-bin/mapserv?map=/var/www/geomod/test.map";
>
> "WMS_SRS" "EPSG:27572"
> END
> LOG "./tmp/web.log"
> END #WEB
>
>
> *this is my  layer  *
>
> LAYER
> NAME "Parcelles"
> DATA "parcelles.shp"
> TYPE POLYGON
> PROJECTION
> "init=EPSG:27572"
> END #Projection
> METADATA
> WMS_TITLE "Parcelles"
> "WMS_SRS" "EPSG:27572"
> END
> CLASS
> NAME "Parcelles"
> STYLE
> SYMBOL 0
> SIZE 2
> OUTLINECOLOR 0 0 0
> COLOR 255 255 0
> END
> END
> END #Layer
>
> thanks for your help
>
>
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: Invalid Layer(s) in Layer parameter

2010-04-29 Thread Lars Lingner
Tonton schrieb:
>> Hello
>>
>> i try to make WebMapping with mapserver/Openlayer
>>
>> i meet some trouble with projection and extent  because i have blank map in
>> Qgis request
>> it is working on SIS cardcorp
>>
>> *with getmap request *
>>
>> http://geomap/cgi-bin/mapserv?map=/var/www/geomod/test.map&SERVICE=WMS&VERSION=
>> *1.1.1*&REQUEST=GetMap&LAYERS=Parcelles :
>> −
>> 
>> msWMSLoadGetMapParams(): WMS server error. *Missing required parameter SRS
>> *

Reading the error message, I would try to add parameter SRS  like

&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetMap&LAYERS=Parcelles&SRS=EPSG:27572

But you'll need a few more parameters:

&BBOX=minx,miny,maxx,maxy  <- replace with your values
&WIDTH=300
&Height=200
&FORMAT=image/png
&STYLES=''

>>
>>
>>
>> *in openlayer:*
>>
>> WMS server error Invalid Layer(s) given in LAYER parameter
>>
>> May be i forgot somthing to define in my web or layer Object ?
>>

Maybe. Can you show the request URL or your layer definition in
OpenLayers? You have to match the layername defined in you map file.


Lars


PS: There is no need to double post your issue. Give people time to
answer or try to be more specific in your description.
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] Cannot access tutorial data

2010-04-29 Thread MarkJackson

Hi

I am a MapServer user trying to access the tutorial data from
http://demo.mapserver.org/tutorial/tutorial.zip

I can't connect to demo.mapserver.org

The link is published from
http://www.mapserver.org/tutorial/background.html#tutorial-data

Can anyone help? Thanks in advance
Mark
-- 
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/Cannot-access-tutorial-data-tp4980801p4980801.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] Mapscript Rasterquery returns empty result

2010-04-29 Thread Tom van der Putte
Hi Frank, Alexander,

Thx for the replies. I'll give it a try as soon as possible. I do have a good 
hunch however that it won't come down to the coordinates, because when I try 
his on a tiff, this is the error it gives when clicking on a section of the 
tiff that has any value except noData; when I click on an empty section 
(NoData) it gives a different error. Some testing with this showed that it does 
send and uses the correct coords.

I think it might have something to do with the tiffs themselves. I'll follow 
your advise an create a testcase as simple as possible. Note that I'm using 
5.2.1 and can't easily upgrade to 5.6, so a ticket might not be appropriate?

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


Re: [mapserver-users] Cannot access tutorial data

2010-04-29 Thread Jeff McKenna

MarkJackson wrote:

Hi

I am a MapServer user trying to access the tutorial data from
http://demo.mapserver.org/tutorial/tutorial.zip

I can't connect to demo.mapserver.org

The link is published from
http://www.mapserver.org/tutorial/background.html#tutorial-data

Can anyone help? Thanks in advance


Hi Mark,

The machine seems to be down, I'll check into it.

-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] MINSCALEDENOM in layer units

2010-04-29 Thread Paco Regodón

Hi,

MINSCALEDENOM is specified using map units.

I have a mapfile which can be requested using epsg:4326 (degrees) or 
epsg:25830 (meters) using &map_projection=init=epsg:4236 or 
&map_projection=init=epsg:25830.


The problem is that different scales are computed in both cases. Scale 
varies between 3 and 100 when working with degrees, or between 5000 and 
15.000.000.


One layer need to be represented only at certain ranges, but if i define 
MINSCALEDENOM in degrees, it will fail to represent when using meters 
and viceversa.


Is there any way i can define MINSCALEDENOM in layer's units instead of 
map units? Something like a SCALEUNITS tag at layer level?


Thanks,

Paco Regodón

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


Re: [mapserver-users] Re: WMS and tiles cutting off

2010-04-29 Thread Adam Eskreis
I have thought about using tilecache with metatiling, however there is a
caveat about this map that i forgot to mention in my main post, and it has
to do with that "categories" parameter.  Basically, each point/symbol on the
map has an associated category in the database backend.  I am using
mapserver/WMS parameters to change the categories which are called.  Each
time the user selects a category, only the points in that category are
shown.  My query in the mapfile looks something like thi:

SELECT point_geom,gid,symbol,angle FROM mapdata WHERE category
IN(%CATEGORIES%)";

And each time the user changes the categories, I use openlayers to merge new
parameters, and input the new category values that should be used.  Is
tilecache still useable if I have a system like this set up?

Thanks,
-Adam


On Thu, Apr 29, 2010 at 6:14 AM, kaipi  wrote:

>
> Hi,
>
> you can use  http://tilecache.org/ Tilecache   with the option metatiling
> enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.
> 4096x4096) from Mapserver and will cut them into smaller tiles (eg.
> 256x256). It will also increase performance because Mapserver does not need
> to render tiles when they are already in cache.
>
> kaipi
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.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


Re: [mapserver-users] Cannot access tutorial data

2010-04-29 Thread Jeff McKenna

MarkJackson wrote:

Hi

I am a MapServer user trying to access the tutorial data from
http://demo.mapserver.org/tutorial/tutorial.zip

I can't connect to demo.mapserver.org

The link is published from
http://www.mapserver.org/tutorial/background.html#tutorial-data

Can anyone help? Thanks in advance


Mark,

In the short term you can download that tutorial data from: 
http://download.osgeo.org/mapserver/docs/mapserver-tutorial.zip (28MB)


Unfortunately in the recent website outages, this one drive seems to 
have problems, so this issue is reported in the ticket: 
http://trac.osgeo.org/mapserver/ticket/3442


Thanks for catching this!

-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] Re: WMS and tiles cutting off

2010-04-29 Thread Lime, Steve D (DNR)
So use two layers. One for the background, use tilecache for that. Then use an 
untiled wms/mapserver layer for the overlayed points. - Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Adam Eskreis 
[aeskr...@gmail.com]
Sent: Thursday, April 29, 2010 1:24 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Re: WMS and tiles cutting off

I have thought about using tilecache with metatiling, however there is a caveat 
about this map that i forgot to mention in my main post, and it has to do with 
that "categories" parameter.  Basically, each point/symbol on the map has an 
associated category in the database backend.  I am using mapserver/WMS 
parameters to change the categories which are called.  Each time the user 
selects a category, only the points in that category are shown.  My query in 
the mapfile looks something like thi:

SELECT point_geom,gid,symbol,angle FROM mapdata WHERE category 
IN(%CATEGORIES%)";

And each time the user changes the categories, I use openlayers to merge new 
parameters, and input the new category values that should be used.  Is 
tilecache still useable if I have a system like this set up?

Thanks,
-Adam


On Thu, Apr 29, 2010 at 6:14 AM, kaipi 
mailto:mapcoll...@gmx.net>> wrote:

Hi,

you can use  http://tilecache.org/ Tilecache   with the option metatiling
enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.
4096x4096) from Mapserver and will cut them into smaller tiles (eg.
256x256). It will also increase performance because Mapserver does not need
to render tiles when they are already in cache.

kaipi
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.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] Re: Fail on generate extension of mapscript for Tcl 8.5

2010-04-29 Thread Thiago Tiedtke dos Reis
Anybody can help? suggest ?

Thanks

Tiedtke

2010/4/26 Thiago Tiedtke dos Reis 

> Hi folks,
>
> Based in old version of tcl mapscrip for windows in this site:
>
> http://msworkbench.sourceforge.net/
>
> I'm trying to recompile a version of mapscript (5.6.2) tcl extension (based
> on sdk pack of Tamas site, version 1500, windows 32bit).
>
> Some modifications in path of files nmake.opt (root of mapserver src) and
> Makefile.vc in tcl mapscript dir, the files were generated:
>
> mapscript_wrap.c (using swig 1.3.39 and Tcl/Tk 8.5.8, from ActiveState)
> mapscript.dll
> mapscript.exp
> mapscript.lib
>
> But, when i try to load this dll in a Tclsh terminal (load mapscript.dll),
> a strange error is shown, saying this:
>
> couldn't load library "mapscript.dll": A function specified in the import
> table could not be resolved by the system.  Windows is not telling which
> one, I'm sorry.
>
> I put this dll in same places of others dll from Tamas Package (
> release-1500-dev\release-1500\bin ), and verified the dependencies with
> depends.exe and nothing were pointed.
>
> The two functions were exported (Mapscript_Init and Mapscript_SafeInit) in
> dll, but it don't work 
>
> The files generated are here (rar file):
> http://engemap-ped.dnsalias.org/conv/mapserver-5-6.rar or individual
> files: http://engemap-ped.dnsalias.org/conv/mapserver-5-6
>
>
> Thanks on advance, for any tips about this...
>
> Thiago Tiedtke dos Reis
>
>
>
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Re: WMS and tiles cutting off

2010-04-29 Thread Adam Eskreis
Ok, I just gave an untiled layer a try, unfortunately though, due to the
large amount of symbols being displayed on the screen, there is about a 2
second delay every time the map is panned.  My client will most certainly
find this unacceptable.  I have tried using smaller images, but I cannot
sacrifice any more quality.  I believe my database query to be as optimized
as it can be (has about 50 ms runtime, I honestly don't think I can get it
any lower than that).

If these are the only options, is there something else besides WMS that you
all would recommend using to solve this issue?

Thanks,
-Adam

On Thu, Apr 29, 2010 at 2:54 PM, Lime, Steve D (DNR)  wrote:

> So use two layers. One for the background, use tilecache for that. Then use
> an untiled wms/mapserver layer for the overlayed points. - Steve
> 
> From: mapserver-users-boun...@lists.osgeo.org [
> mapserver-users-boun...@lists.osgeo.org] On Behalf Of Adam Eskreis [
> aeskr...@gmail.com]
> Sent: Thursday, April 29, 2010 1:24 PM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] Re: WMS and tiles cutting off
>
> I have thought about using tilecache with metatiling, however there is a
> caveat about this map that i forgot to mention in my main post, and it has
> to do with that "categories" parameter.  Basically, each point/symbol on the
> map has an associated category in the database backend.  I am using
> mapserver/WMS parameters to change the categories which are called.  Each
> time the user selects a category, only the points in that category are
> shown.  My query in the mapfile looks something like thi:
>
> SELECT point_geom,gid,symbol,angle FROM mapdata WHERE category
> IN(%CATEGORIES%)";
>
> And each time the user changes the categories, I use openlayers to merge
> new parameters, and input the new category values that should be used.  Is
> tilecache still useable if I have a system like this set up?
>
> Thanks,
> -Adam
>
>
> On Thu, Apr 29, 2010 at 6:14 AM, kaipi  mapcoll...@gmx.net>> wrote:
>
> Hi,
>
> you can use  http://tilecache.org/ Tilecache   with the option metatiling
> enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.
> 4096x4096) from Mapserver and will cut them into smaller tiles (eg.
> 256x256). It will also increase performance because Mapserver does not need
> to render tiles when they are already in cache.
>
> kaipi
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.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


RE: [mapserver-users] Re: WMS and tiles cutting off

2010-04-29 Thread Lime, Steve D (DNR)
Note that by default I believe openlayers will request an image that is *much* 
larger than what is visible. Setting the layers (OL) ratio:1 makes it the same 
size as the view port and that can speed up rendering considerably.

Alternatively you could create a separate set of tiles for each category I 
suppose and switch OL layers as necessary...

Steve


From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Adam Eskreis 
[aeskr...@gmail.com]
Sent: Thursday, April 29, 2010 2:25 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Re: WMS and tiles cutting off

Ok, I just gave an untiled layer a try, unfortunately though, due to the large 
amount of symbols being displayed on the screen, there is about a 2 second 
delay every time the map is panned.  My client will most certainly find this 
unacceptable.  I have tried using smaller images, but I cannot sacrifice any 
more quality.  I believe my database query to be as optimized as it can be (has 
about 50 ms runtime, I honestly don't think I can get it any lower than that).

If these are the only options, is there something else besides WMS that you all 
would recommend using to solve this issue?

Thanks,
-Adam

On Thu, Apr 29, 2010 at 2:54 PM, Lime, Steve D (DNR) 
mailto:steve.l...@state.mn.us>> wrote:
So use two layers. One for the background, use tilecache for that. Then use an 
untiled wms/mapserver layer for the overlayed points. - Steve

From: 
mapserver-users-boun...@lists.osgeo.org
 
[mapserver-users-boun...@lists.osgeo.org]
 On Behalf Of Adam Eskreis [aeskr...@gmail.com]
Sent: Thursday, April 29, 2010 1:24 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] Re: WMS and tiles cutting off

I have thought about using tilecache with metatiling, however there is a caveat 
about this map that i forgot to mention in my main post, and it has to do with 
that "categories" parameter.  Basically, each point/symbol on the map has an 
associated category in the database backend.  I am using mapserver/WMS 
parameters to change the categories which are called.  Each time the user 
selects a category, only the points in that category are shown.  My query in 
the mapfile looks something like thi:

SELECT point_geom,gid,symbol,angle FROM mapdata WHERE category 
IN(%CATEGORIES%)";

And each time the user changes the categories, I use openlayers to merge new 
parameters, and input the new category values that should be used.  Is 
tilecache still useable if I have a system like this set up?

Thanks,
-Adam


On Thu, Apr 29, 2010 at 6:14 AM, kaipi 
mailto:mapcoll...@gmx.net>>>
 wrote:

Hi,

you can use  http://tilecache.org/ Tilecache   with the option metatiling
enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.
4096x4096) from Mapserver and will cut them into smaller tiles (eg.
256x256). It will also increase performance because Mapserver does not need
to render tiles when they are already in cache.

kaipi
--
View this message in context: 
http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.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


RE: [mapserver-users] Re: Fail on generate extension of mapscript for Tcl 8.5

2010-04-29 Thread Lime, Steve D (DNR)
Hi Tiedtke: There just aren't that many Tk/Tcl users for MapScript. There's one 
big user that apparently has a set of patches to bring Tk/Tcl support
for MapScript inline with the others. I don't know how much they pay attention 
to MapServer-Users though. I'll contact them off list and see if I can
get some love for you question...

Steve

From: mapserver-users-boun...@lists.osgeo.org 
[mapserver-users-boun...@lists.osgeo.org] On Behalf Of Thiago Tiedtke dos Reis 
[tied...@gmail.com]
Sent: Thursday, April 29, 2010 1:58 PM
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] Re: Fail on generate extension of mapscript for  
Tcl 8.5

Anybody can help? suggest ?

Thanks

Tiedtke

2010/4/26 Thiago Tiedtke dos Reis mailto:tied...@gmail.com>>
Hi folks,

Based in old version of tcl mapscrip for windows in this site:

http://msworkbench.sourceforge.net/

I'm trying to recompile a version of mapscript (5.6.2) tcl extension (based on 
sdk pack of Tamas site, version 1500, windows 32bit).

Some modifications in path of files nmake.opt (root of mapserver src) and 
Makefile.vc in tcl mapscript dir, the files were generated:

mapscript_wrap.c (using swig 1.3.39 and Tcl/Tk 8.5.8, from ActiveState)
mapscript.dll
mapscript.exp
mapscript.lib

But, when i try to load this dll in a Tclsh terminal (load mapscript.dll), a 
strange error is shown, saying this:

couldn't load library "mapscript.dll": A function specified in the import table 
could not be resolved by the system.  Windows is not telling which one, I'm 
sorry.

I put this dll in same places of others dll from Tamas Package ( 
release-1500-dev\release-1500\bin ), and verified the dependencies with 
depends.exe and nothing were pointed.

The two functions were exported (Mapscript_Init and Mapscript_SafeInit) in dll, 
but it don't work 

The files generated are here (rar file): 
http://engemap-ped.dnsalias.org/conv/mapserver-5-6.rar or individual files: 
http://engemap-ped.dnsalias.org/conv/mapserver-5-6


Thanks on advance, for any tips about this...

Thiago Tiedtke dos Reis



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


Re: [mapserver-users] Re: WMS and tiles cutting off

2010-04-29 Thread Adam Eskreis
I tried doing ratio:1 unfortunately it doesn't seem like enough of a
performance increase.  Separate layers for each category is an option,
however, there are over a hundred categories, and any combination of
categories can be on at any given time, so this could prove to have
performance issues of it's own.  However, I thank you guys Steve and Kaipi
for your advice.  I think I am just going to go back to my old method, which
was using php mapscript to generate the tiles, then each time the user
selected new categories, purge the cache and remake the mapfile.  It's not
the ideal solution but it seems to be the only one.

Thanks again,

-Adam

On Thu, Apr 29, 2010 at 3:50 PM, Lime, Steve D (DNR)  wrote:

> Note that by default I believe openlayers will request an image that is
> *much* larger than what is visible. Setting the layers (OL) ratio:1 makes it
> the same size as the view port and that can speed up rendering considerably.
>
> Alternatively you could create a separate set of tiles for each category I
> suppose and switch OL layers as necessary...
>
> Steve
>
> 
> From: mapserver-users-boun...@lists.osgeo.org [
> mapserver-users-boun...@lists.osgeo.org] On Behalf Of Adam Eskreis [
> aeskr...@gmail.com]
> Sent: Thursday, April 29, 2010 2:25 PM
> To: mapserver-users@lists.osgeo.org
> Subject: Re: [mapserver-users] Re: WMS and tiles cutting off
>
> Ok, I just gave an untiled layer a try, unfortunately though, due to the
> large amount of symbols being displayed on the screen, there is about a 2
> second delay every time the map is panned.  My client will most certainly
> find this unacceptable.  I have tried using smaller images, but I cannot
> sacrifice any more quality.  I believe my database query to be as optimized
> as it can be (has about 50 ms runtime, I honestly don't think I can get it
> any lower than that).
>
> If these are the only options, is there something else besides WMS that you
> all would recommend using to solve this issue?
>
> Thanks,
> -Adam
>
> On Thu, Apr 29, 2010 at 2:54 PM, Lime, Steve D (DNR) <
> steve.l...@state.mn.us> wrote:
> So use two layers. One for the background, use tilecache for that. Then use
> an untiled wms/mapserver layer for the overlayed points. - Steve
> 
> From: mapserver-users-boun...@lists.osgeo.org mapserver-users-boun...@lists.osgeo.org> [
> mapserver-users-boun...@lists.osgeo.org mapserver-users-boun...@lists.osgeo.org>] On Behalf Of Adam Eskreis [
> aeskr...@gmail.com]
> Sent: Thursday, April 29, 2010 1:24 PM
> To: mapserver-users@lists.osgeo.org >
> Subject: Re: [mapserver-users] Re: WMS and tiles cutting off
>
> I have thought about using tilecache with metatiling, however there is a
> caveat about this map that i forgot to mention in my main post, and it has
> to do with that "categories" parameter.  Basically, each point/symbol on the
> map has an associated category in the database backend.  I am using
> mapserver/WMS parameters to change the categories which are called.  Each
> time the user selects a category, only the points in that category are
> shown.  My query in the mapfile looks something like thi:
>
> SELECT point_geom,gid,symbol,angle FROM mapdata WHERE category
> IN(%CATEGORIES%)";
>
> And each time the user changes the categories, I use openlayers to merge
> new parameters, and input the new category values that should be used.  Is
> tilecache still useable if I have a system like this set up?
>
> Thanks,
> -Adam
>
>
> On Thu, Apr 29, 2010 at 6:14 AM, kaipi  mapcoll...@gmx.net>>>
> wrote:
>
> Hi,
>
> you can use  http://tilecache.org/ Tilecache   with the option metatiling
> enabled. With metatiling enabled Tilecache will fetch larger tiles (eg.
> 4096x4096) from Mapserver and will cut them into smaller tiles (eg.
> 256x256). It will also increase performance because Mapserver does not need
> to render tiles when they are already in cache.
>
> kaipi
> --
> View this message in context:
> http://osgeo-org.1803224.n2.nabble.com/WMS-and-tiles-cutting-off-tp4978418p4979280.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


Re: [mapserver-users] Re: Fail on generate extension of mapscript for Tcl 8.5

2010-04-29 Thread Thiago Tiedtke dos Reis
Steve,

Thanks for your attention and help...

Meanwhile I'm testing, or looking for another solution!

Best Regards,

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