Re: [mapserver-users] How to access MapServer MapCache tile without using WMS layers

2012-11-14 Thread thomas bonfort
a TileCache layer should work, you'll have to suffix the supplied url with
the name of the grid though of the grid, so something like

http://server/cache/WGS84

--
thomas


On Tue, Nov 13, 2012 at 1:27 PM, Eduardo Kanegae
eduardo.kane...@gmail.comwrote:

 hi,

 At http://www.webmapit.com.br/inpe/topodata/?lang=en I'm using
 OpenLayers 2.12 + WMS layers to display layers rendered by mod
 MapCache (seeder).

 The PNG grid folder now looks like:
 *
 gridfolder
 00
 000
 000
 001
 002
 ...
 060
 000
 000
 000.png
 001.png
 ...
 062.png
 01
 02
 03
 000
 000
 002
 000
 000
 000.png
 001.png
 ...
 blanks

 *
 But, at this moment using WMS layer MapCache/Apache module is treating
 WMS requests and returning correct image for each access.

 What kind of layer should I use with OpenLayers to be able to turn off
 MapCache module and then use a common Apache installation?

 thanks, in advance

 Eduardo Patto Kanegae
 http://www.webmapit.com | @webmapit
 ___
 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] mapcache - rendering higher level tiles from lower level tilesets

2012-11-14 Thread thomas bonfort
Should be possible, although you'll be more than doubling your cache size
without actually providing new information. Setup a source that references
the wms service offerered by your seeded mapcache:

in pseudo code:

source name=s19
 urllocalhost/mapcache/url
 layersFully_Seeded_to_19_cache/layers
/source

tileset name=Memcache_greater_than_19_cache
  sources19/source
  cachememcache/cache
  gridgmaps/grid
  formatmixed/format
  metatile1 1/metatile
  metabuffer0/metabuffer
/tileset

tileset name=Fully_Seeded_to_19_cache
  !--sourcelayer/source--
  cachedisk/cache
  gridgmaps/grid
  formatmixed/format
  metatile1 1/metatile
  metabuffer0/metabuffer
/tileset

--
thomas


On Mon, Nov 12, 2012 at 9:09 PM, Travis Kirstine
traviskirst...@gmail.comwrote:

 I have a fully seeded cache of tiles to level 19 and no longer can access
 the original WMS source. Is it possible to generate a tileset using a
 memcache for layer above level 19 using the seeded cache as source?

 Something like this


  cache name=disk type=disk
 base/home/caches/base
 symlink_blank/
  /cache

   cache name=memcache type=memcache
 server
  hostlocalhost/host
  port11211/port
  /server
/cache


 tileset name=Fully_Seeded_to_19_cache
   !--sourcelayer/source--
   cachedisk/cache
   gridgmaps/grid
   formatmixed/format
   metatile1 1/metatile
   metabuffer0/metabuffer
 /tileset

 tileset name=Memcache_greater_than_19_cache
   source/source
   cachememcache/cache
   gridgmaps/grid
   formatmixed/format
   metatile1 1/metatile
   metabuffer0/metabuffer
 /tileset




 ___
 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] TinyOWS 1.1.0 release

2012-11-14 Thread aho

This is working for me on Windows with OpenLayers!
Really beautiful! :)

Thanks for helping Alexandre and Jukka!

Anna


Am 11/14/2012 1:55 AM, schrieb Olivier Courtin:

Hi all,

The 1.1.0 TinyOWS version is out.
Source code: http://www.tinyows.org/release/tinyows-1.1.0.tar.bz2

From 1.0.0 release the key point was to bugfixe, to improve again 
performances

and strict OGC standard implementation, and few userland improvements
on config file.


1.1.0 Changelog:
 - Add include_items and exclude_items config handling. To choose 
exactly which columns to retrieve (Serge Dikiy)
 - XSD max length and enumeration constraint handling (Serge Dikiy  
Alan Boudreault)
 - First real support of typename namespace provided in request 
(Olivier Courtin)
 - Generate PK value using PostgresSQL DEFAULT value if present (Serge 
Dikiy)
 - Add pkey configuration in layer config. Usefull for instance when 
retrieving data from a VIEW. (Serge Dikiy)

 - Buffer copy performance improve (Serge Dikiy)
 - Rewrite/fix max features handling (Olivier Courtin)
 - Extent layer's properties allowed to inherit (Olivier Courtin)
 - Several bugfixes as usual (special thanks to Andreas Peri, Serge 
Dikiy and Jukka Rahkonen for detailled reports)


Documentation was also refresh, including the OpenLayers HowTo.
http://ci.mapserver.org/job/docsmaster/lastSuccessfulBuild/artifact/build/html/en/tinyows/index.html#tinyows 




Enjoy,

--
Olivier


___
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] TMS layer via GDAL minidriver, drawing shapeObj.fromWKT() and limiting extent to random size gives distorted image

2012-11-14 Thread SQ9MEV

Hi everybody.

I'm using python mapscript bindings to draw my feature (wkt) on base 
layer - this one is TMS available via GDAL minidriver.
What i want to get is custom size image of my feature drawn on the 
background of base layer.


Mapscript i use is like this:

1. shape=shapeObj.fromWKT(elements.wkt)
2. layer = mapobj.getLayerByName(layername)
3. layer.addFeature(shape)
4. extent=shape.bounds
5. mapobj.setExtent(extent.minx, extent.miny, extent.maxx, extent.maxy)
6. mapobj.draw()

Mapfile and minidriver code is here:
http://www.olpiny.pl/ump.map
http://www.olpiny.pl/frmt_wms_ump_tms.xml

This works almost well, map is drawn, but base layer is resampled, and 
due to this image is a little distorted:

http://www.olpiny.pl/1354.png

I was playing with several resampling processing options (you can see it 
in mapfile), but after rethinking my problem i think i know the reason: 
I set more or less random extent (line 5), and it will not be multiple 
size of basemap tiles, and it has to be scaled somehow to my custom 
image size, so base layer will be resampled almost always.


I think i should calculate extent basing on extent fo my feature, and 
size of my image somehow, to ensure that base layer will not be rescaled.


Any ideas how to solve this problem?

Thanx in advance guys.

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


[mapserver-users] MapServer 6.2 released

2012-11-14 Thread thomas bonfort
The MapServer team is pleased to announce the release of MapServer 6.2,
along with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0.

Details of the new features, migration instructions, and download links can
be found on the dedicated announcement page at
http://www.mapserver.org/development/announce/6-2.html .

cheers,
The MapServer PSC
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

2012-11-14 Thread Lime, Steve D (DNR)
And on GIS Day no less… nice timing. Fabulous work by all those that 
contributed code. A special shout out to Thomas for handling the release 
manager role. Thanks everyone!

Steve

From: mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Wednesday, November 14, 2012 9:03 AM
To: MapServer Dev Mailing List; MapserverList OSGEO; osgeo-discuss 
(disc...@lists.osgeo.org)
Subject: [mapserver-dev] MapServer 6.2 released

The MapServer team is pleased to announce the release of MapServer 6.2, along 
with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0.

Details of the new features, migration instructions, and download links can be 
found on the dedicated announcement page at 
http://www.mapserver.org/development/announce/6-2.html .

cheers,
The MapServer PSC
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

2012-11-14 Thread Mr. Puneet Kishor
As my work focuses more and more on the outer envelope of science and data, 
this reminds me more and more of how much we all owe to the work you guys do at 
the core.

Much gratitude and respect.

--
Puneet Kishor
Science and Data Policy at Creative Commons



On Nov 14, 2012, at 7:15 AM, Lime, Steve D (DNR) steve.l...@state.mn.us 
wrote:

 And on GIS Day no less… nice timing. Fabulous work by all those that 
 contributed code. A special shout out to Thomas for handling the release 
 manager role. Thanks everyone!
 
 Steve
 
 From: mapserver-dev-boun...@lists.osgeo.org 
 [mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
 Sent: Wednesday, November 14, 2012 9:03 AM
 To: MapServer Dev Mailing List; MapserverList OSGEO; osgeo-discuss 
 (disc...@lists.osgeo.org)
 Subject: [mapserver-dev] MapServer 6.2 released
 
 The MapServer team is pleased to announce the release of MapServer 6.2, along 
 with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0.
 
 Details of the new features, migration instructions, and download links can 
 be found on the dedicated announcement page at 
 http://www.mapserver.org/development/announce/6-2.html .
 
 cheers,
 The MapServer PSC









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


Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

2012-11-14 Thread Jan Hartmann

Hi Steve, what on earth is GIS Day?

Congratulations with the new version, almost ten years after MapServer 
went really public at the first MapServer congres in Minneapolis!


Jan


On 11/14/2012 04:15 PM, Lime, Steve D (DNR) wrote:


And on GIS Day no less... nice timing. Fabulous work by all those that 
contributed code. A special shout out to Thomas for handling the 
release manager role. Thanks everyone!


Steve

*From:*mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] *On Behalf Of *thomas 
bonfort

*Sent:* Wednesday, November 14, 2012 9:03 AM
*To:* MapServer Dev Mailing List; MapserverList OSGEO; osgeo-discuss 
(disc...@lists.osgeo.org)

*Subject:* [mapserver-dev] MapServer 6.2 released

The MapServer team is pleased to announce the release of MapServer 
6.2, along with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0.


Details of the new features, migration instructions, and download 
links can be found on the dedicated announcement page at 
http://www.mapserver.org/development/announce/6-2.html .


cheers,

The MapServer PSC



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


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


Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

2012-11-14 Thread Angelos Tzotsos

Hi all,

I just updated openSUSE repositories with 6.2.0.
I am thinking to create a Mapserver Suite rpm file.

Congrats to all for this release!

Cheers,
Angelos

On 11/14/2012 05:44 PM, Jan Hartmann wrote:

Hi Steve, what on earth is GIS Day?

Congratulations with the new version, almost ten years after MapServer 
went really public at the first MapServer congres in Minneapolis!


Jan


On 11/14/2012 04:15 PM, Lime, Steve D (DNR) wrote:


And on GIS Day no less... nice timing. Fabulous work by all those 
that contributed code. A special shout out to Thomas for handling the 
release manager role. Thanks everyone!


Steve

*From:*mapserver-dev-boun...@lists.osgeo.org 
[mailto:mapserver-dev-boun...@lists.osgeo.org] *On Behalf Of *thomas 
bonfort

*Sent:* Wednesday, November 14, 2012 9:03 AM
*To:* MapServer Dev Mailing List; MapserverList OSGEO; osgeo-discuss 
(disc...@lists.osgeo.org)

*Subject:* [mapserver-dev] MapServer 6.2 released

The MapServer team is pleased to announce the release of MapServer 
6.2, along with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0.


Details of the new features, migration instructions, and download 
links can be found on the dedicated announcement page at 
http://www.mapserver.org/development/announce/6-2.html .


cheers,

The MapServer PSC



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





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



--
Angelos Tzotsos
Remote Sensing Laboratory
National Technical University of Athens
http://users.ntua.gr/tzotsos

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


[mapserver-users] PerlMapscript on Windows

2012-11-14 Thread Helmut Seidel M.A.

Hello everybody,

I've just started on Mapserver  again - I normaly use (opensuse 12.2-/ 
ubuntu 12.04-) Linux and and would like to use perl scripting. On both 
Linuxes it is no problem to install Perl Mapscript but as far as I've 
seen MS4W and OSGEO don't come with Perl Mapscript. As my Scripts have 
to run on Windows I wonder whether there is an easy way to install it or 
does it mean compiling for Windows? Is there some kind of howto for 
installing PerlMapscript?


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


Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

2012-11-14 Thread Worth Lutz
http://www.gisday.com/ 

 

And tomorrow will be PostGIS day.   :-)

 

Worth

 

  _  

From: mapserver-users-boun...@lists.osgeo.org
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Jan Hartmann
Sent: Wednesday, November 14, 2012 10:44 AM
To: Lime, Steve D (DNR)
Cc: MapserverList OSGEO
Subject: Re: [mapserver-users] [mapserver-dev] MapServer 6.2 released

 

Hi Steve, what on earth is GIS Day?

Congratulations with the new version, almost ten years after MapServer went
really public at the first MapServer congres in Minneapolis!

Jan



On 11/14/2012 04:15 PM, Lime, Steve D (DNR) wrote:

And on GIS Day no less. nice timing. Fabulous work by all those that
contributed code. A special shout out to Thomas for handling the release
manager role. Thanks everyone!

 

Steve

 

From: mapserver-dev-boun...@lists.osgeo.org
[mailto:mapserver-dev-boun...@lists.osgeo.org] On Behalf Of thomas bonfort
Sent: Wednesday, November 14, 2012 9:03 AM
To: MapServer Dev Mailing List; MapserverList OSGEO; osgeo-discuss
(disc...@lists.osgeo.org)
Subject: [mapserver-dev] MapServer 6.2 released

 

The MapServer team is pleased to announce the release of MapServer 6.2,
along with the joint release of tinyOWS 1.1.0 and MapCache 1.0.0.

 

Details of the new features, migration instructions, and download links can
be found on the dedicated announcement page at
http://www.mapserver.org/development/announce/6-2.html .

 

cheers,

The MapServer PSC






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

 

  _  

No virus found in this message.
Checked by AVG - www.avg.com
Version: 2013.0.2793 / Virus Database: 2629/5894 - Release Date: 11/14/12

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


Re: [mapserver-users] SDE 10.x support...

2012-11-14 Thread Alan Boudreault
Steve, I was looking to use SDE 10 too, have you been able to get it to 
work?


Alan

On 12-11-01 03:57 PM, Lime, Steve D (DNR) wrote:

Hi all: Has anyone successfully used the SDE 10.x client libs with
MapServer 6.0+? Compiles ok but I’ve had no luck actually using SDE layers.

Steve

*StEVE LIME | *DATA  Applications MANAGER

MN.IT Services @ MnDNR

651-259-5473 (w) *|*  651-297-4946 (f) *|* steve.l...@state.mn.us
mailto:your.n...@state.mn.us

// http://www.mn.gov/oet//



Information Technology for Minnesota Government *|* mn.gov/oet
http://www.mn.gov/oet



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




--
Alan Boudreault
http://www.mapgears.com/
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] SDE 10.x support...

2012-11-14 Thread Lime, Steve D (DNR)
Yes. I'm on a 64-bit Linux box and mapsde.c compiled fine against the 10.0 
client libs. Problem was it didn't work until I did two things:

  - Add CFLAGS=-DSDE64 to configure call.
  - Fix most of warnings (all but one) that result in the above change (change 
long's to ms_int32), see https://github.com/mapserver/mapserver/issues/4521.

I was working against 6.0 and it looks like 6.2 will require the same changes. 
If you're on a 32-bit OS you probably don't need to change anything.

Steve


-Original Message-
From: mapserver-users-boun...@lists.osgeo.org 
[mailto:mapserver-users-boun...@lists.osgeo.org] On Behalf Of Alan Boudreault
Sent: Wednesday, November 14, 2012 2:31 PM
To: mapserver-users@lists.osgeo.org
Subject: Re: [mapserver-users] SDE 10.x support...

Steve, I was looking to use SDE 10 too, have you been able to get it to work?

Alan

On 12-11-01 03:57 PM, Lime, Steve D (DNR) wrote:
 Hi all: Has anyone successfully used the SDE 10.x client libs with 
 MapServer 6.0+? Compiles ok but I've had no luck actually using SDE layers.

 Steve

 *StEVE LIME | *DATA  Applications MANAGER

 MN.IT Services @ MnDNR

 651-259-5473 (w) *|*  651-297-4946 (f) *|* steve.l...@state.mn.us 
 mailto:your.n...@state.mn.us

 // http://www.mn.gov/oet//

   

 Information Technology for Minnesota Government *|* mn.gov/oet 
 http://www.mn.gov/oet



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



--
Alan Boudreault
http://www.mapgears.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] PerlMapscript on Windows (Helmut Seidel M.A.)

2012-11-14 Thread lfilak

Date: Wed, 14 Nov 2012 19:20:48 +0100
From: Helmut Seidel M.A. i...@knowhow-la.de
To: mapserver-users@lists.osgeo.org
Subject: [mapserver-users] PerlMapscript on Windows
Message-ID: 50a3e100.5020...@knowhow-la.de
Content-Type: text/plain; charset=ISO-8859-15; format=flowed 

Hello everybody, 

I've just started on Mapserver  again - I normaly use (opensuse 12.2-/ 
ubuntu 12.04-) Linux and and would like to use perl scripting. On both 
Linuxes it is no problem to install Perl Mapscript but as far as I've 
seen MS4W and OSGEO don't come with Perl Mapscript. As my Scripts have 
to run on Windows I wonder whether there is an easy way to install it or 
does it mean compiling for Windows? Is there some kind of howto for 
installing PerlMapscript? 


Thanks very much


In the source directory mapscript/perl the README file explains the 
compilation process. I've never tried on Windows however and don't know if 
it will work.

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


Re: [mapserver-users] PerlMapscript on Windows (Helmut Seidel M.A.)

2012-11-14 Thread Puneet Kishor

On Nov 14, 2012, at 12:34 PM, lfi...@medinaco.org wrote:

 Date: Wed, 14 Nov 2012 19:20:48 +0100
 From: Helmut Seidel M.A. i...@knowhow-la.de
 To: mapserver-users@lists.osgeo.org
 Subject: [mapserver-users] PerlMapscript on Windows
 Message-ID: 50a3e100.5020...@knowhow-la.de
 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Hello 
 everybody, I've just started on Mapserver  again - I normaly use (opensuse 
 12.2-/ ubuntu 12.04-) Linux and and would like to use perl scripting. On 
 both Linuxes it is no problem to install Perl Mapscript but as far as I've 
 seen MS4W and OSGEO don't come with Perl Mapscript. As my Scripts have to 
 run on Windows I wonder whether there is an easy way to install it or does 
 it mean compiling for Windows? Is there some kind of howto for installing 
 PerlMapscript? Thanks very much
 
 In the source directory mapscript/perl the README file explains the 
 compilation process. I've never tried on Windows however and don't know if it 
 will work.

(Hi Lowell). I am pretty sure it won't work as compiling it requires SWIG, and, 
of course, a compiler. So, someone has to make the module (or dll or whatever 
it is called on Windows) and provide it.


--
Puneet Kishor

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