Re: [mapserver-users] layers not getting separated

2009-08-26 Thread sunny74

Hi,

Sure the code is as follows:

HTML code:

http://www.w3.org/1999/xhtml";>


 


#Button11
{
width: 115px;
}











 












// JS code
 
   
 
 


 //var map = new OpenLayers.Map(document.getElementById('map'));
 //map = new OpenLayers.Map('map');
 var mapview, layer, layer1, map, layer2, layer3, layer4, highlight,
choice_features, GML, distline;
 var txt1, txt2, txt3, txt4, check1, check2, retA, retB;
 var flag = 0;
 var tmarkers; //var lon = 73.371875;var lat = 18.4283203125;
 var drawControls, result, opt;
 var wktforl = [];
 var condtns = [];
 //OpenLayers.Feature.Vector.style['default']['strokeWidth'] = '2';
 var vector_style = OpenLayers.Util.extend({},
OpenLayers.Feature.Vector.style['default']);
 vector_style.strokeWidth = 3;
 vector_style.strokeColor = "#ff";
 vector_style.fillOpacity = 0;
 vector_style.strokeOpacity = .8;
 var v_style = OpenLayers.Util.extend({},
OpenLayers.Feature.Vector.style['default']);
 v_style.strokeWidth = 3;
 //v_style.strokeColor = "#ff";
 v_style.fillOpacity = 0;
 v_style.strokeOpacity = .8;
 v_style.strokeColor = "maroon";
 v_style.fillColor = "maroon";
 v_style.graphicName = "star";
 v_style.pointRadius = 10;
 v_style.rotation = 45;
 v_style.strokeLinecap = "butt";


 function parseData(req) {
 g = new OpenLayers.Format.GML();
 html = ""
 features = g.read(req.responseText);
 for (var feat in features) {
 html += "Feature: Geometry: " + features[feat].geometry + ",";
 html += "
    "; for (var j in features[feat].attributes) { html += "
  • " + j + ":" + features[feat].attributes[j] + "
  • "; } html += "
" } //document.getElementById('output').innerHTML = html; } function init() { //alert("in init"); map = new OpenLayers.Map('<%=map.ClientID%>'); // layer = new OpenLayers.Layer.WMS("OpenLayers WMS", "http://172.16.128.173:8085/cgi-bin/mapserv.exe?";, { map: 'Shape/newwr2.map', layers: 'STATE', 'format': 'png' }); layer1 = new OpenLayers.Layer.WMS("Rail Main", "http://172.16.128.173:8085/cgi-bin/mapserv.exe?";, { map: 'Shape/newwr2.map', transparent: 'true', layers: 'Railwayline' }); highlight = new OpenLayers.Layer.Vector("highlight", { style: vector_style }); choice_features = new OpenLayers.Layer.Vector("choice_features", { style: v_style }); distline = new OpenLayers.Layer.Vector("distline", { style: vector_style }); //GML = new OpenLayers.Layers.GML("GML", { style: v_style }); // map.addLayers([layer,layer1, highlight,distline]); // markers = new OpenLayers.Layer.Markers("markers"); // map.addLayer(markers); // map.OpenLayers.Control.PanZoom.destroy(); // map.OpenLayers.Control.MouseToolbar.destroy(); map.zoomToMaxExtent(); map.setCenter(new OpenLayers.LonLat(79.7, 21.9), 5); map.addControl(new OpenLayers.Control.PanZoomBar()); //map.addControl(new OpenLayers.Control.MouseToolbar()); map.addControl(new OpenLayers.Control.LayerSwitcher()); map.addControl(new OpenLayers.Control.MousePosition()); map.addControl(new OpenLayers.Control.OverviewMap()); map.addControl(new OpenLayers.Control.ScaleLine()); var radio2 = document.getElementById('Radio2'); var radio3 = document.getElementById('Radio3'); var radio4 = document.getElementById('Radio4'); var radio5 = document.getElementById('Radio5'); map.events.register("click", map, function(e) { if (radio2.checked == 1) { var lonlat = map.getLonLatFromViewPortPx(e.xy); alert("You clicked near " + lonlat.lat + " N, " + +lonlat.lon + " E"); } if (radio3.checked == 1) { //document.getElementById(dist).style.display = "block"; var lonlat1 = map.getLonLatFromViewPortPx(e.xy); alert(lonlat1); //var lonlatarr = [2]; //lonlatarr = lonlat1; //alert(lonlatarr); // //if (lonlatarr.length == 2) { //wktforl[0] = GetFeat(lonlatarr[0])

Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Edmar Moretti
I work in developing a software called i3geo based on Mapserver 
(http://www.softwarepublico.gov.br).

In this software we have several interfaces:

normal
http://mapas.mma.gov.br/i3geo

GoogleMaps
http:/ / mapas.mma.gov.br/i3geo/ms_criamapa.php?interface=googlemaps.phtml

GoogleEarth
http://mapas.mma.gov.br/i3geo/ms_criamapa.php?interface=googleearth.phtml

The data are superimposed by the WMS.



Bob Basques escreveu:


All,


The newest version of GeoMoose is built on top of OpenLayers, so if 
the OpenLayer LIB is able to directly access, then GeoMoose can too. 
 I'm not up on the OpenLayers particulars, but as I understand things, 
the OpenLayers read options were a big reason for incorporating 
OpenLayers into GeoMoose.



Looks like some GeoMoose Demos need to be put together . . . .


bobb




>>> Jacolin Yves  wrote:



One of this day, QGIS should be able to consume Google Maps, see [1]. 
However

I don't know if it will be in trunk ;)


E-mail verificado pelo Terra Anti-Spam.
Para classificar esta mensagem como spam ou não spam, clique aqui 
.

Verifique periodicamente a pasta Spam para garantir que apenas mensagens
indesejadas sejam classificadas como Spam.


Esta mensagem foi verificada pelo E-mail Protegido Terra.
Atualizado em 26/08/2009


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


--
Por favor, atualize sua lista de contatos com meu novo e-mail:

edmar.more...@terra.com.br

Skype: edmar.moretti

Blog: http://edmarmoretti.blogspot.com/

Ohloh: https://www.ohloh.net/accounts/edmarmoretti

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


Re: [mapserver-users] help with DATA

2009-08-26 Thread Rahkonen Jukka
Hi,

Read about ogrtindex from http://www.mapserver.org/optimization/tileindex.html

-Jukka Rahkonen-

Valeria Muñoz wrote:

Hi

i have 10 shapefile , the layer configuration in the mapfile of this
shapes is the same for everyone. can i define 1 layer for the shapes?..maybe
something like this:
LAYER
NAME 'calle'
TYPE LINE
MAXSCALE 180
LABELMAXSCALE 180
DATA 'shapes1.shp*,*shape2.shp*,*shape3.shp'
..
END

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


[mapserver-users] help with DATA

2009-08-26 Thread Valeria Muñoz
Hi

i have 10 shapefile , the layer configuration in the mapfile of this
shapes is the same for everyone. can i define 1 layer for the shapes?..maybe
something like this:
LAYER
NAME 'calle'
TYPE LINE
MAXSCALE 180
LABELMAXSCALE 180
DATA 'shapes1.shp*,*shape2.shp*,*shape3.shp'
..
END
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Smith, Michael ERDC-CRREL-NH
With the advent of the Bing WMS service, that will be the best solution, it
appears (for now).

Mike


On 8/26/09  3:01 PM, "Christopher Schmidt"  wrote:

> On Wed, Aug 26, 2009 at 01:25:11PM -0400, Smith, Michael ERDC-CRREL-NH wrote:
>> What about using the Google Maps static API and making multiple calls and
>> tiling? Is that within the TOS?
> 
> The Google Maps static API doesn't let you pass in a bounding box, it lets
> you pas in a 'center and zoom'. The resulting tile will not always be
> centered exactly on that point such that it can be tiled, based on what
> I understand: Requests are still based around a grid, it's just not one
> that's obvious, iiuc.
> 
> That said, I have no idea if this is within the Terms of Use.
> 
> It also has other side effects; Google logo on each tile, etc. so it's not
> a great solution even if it does work, but would probably be better for
> desktop solutions which have a single view that they want to display
> data over, as I understand it.
> 
> Regards,

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


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 01:25:11PM -0400, Smith, Michael ERDC-CRREL-NH wrote:
> What about using the Google Maps static API and making multiple calls and
> tiling? Is that within the TOS?

The Google Maps static API doesn't let you pass in a bounding box, it lets 
you pas in a 'center and zoom'. The resulting tile will not always be 
centered exactly on that point such that it can be tiled, based on what 
I understand: Requests are still based around a grid, it's just not one 
that's obvious, iiuc.

That said, I have no idea if this is within the Terms of Use.

It also has other side effects; Google logo on each tile, etc. so it's not
a great solution even if it does work, but would probably be better for 
desktop solutions which have a single view that they want to display
data over, as I understand it. 

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] Variable-substitution cause WMS GetFeatureInfo error

2009-08-26 Thread AlessioDL



Steve Lime wrote:
> 
> Hmmm... If a the URL overloading works with WMS getMap then it should work
> with
> getFeatureInfo. Can you confirm the former?
> 
> Steve
> 
> 

Hi Steve, and thank you for your answer.

I confirm that the wms getmap works well even if I put the %year% variable
into the layer FILTER.
I'm using mapserver 5.4.2 (ms4w)
-- 
View this message in context: 
http://n2.nabble.com/Variable-substitution-cause-WMS-GetFeatureInfo-error-tp3515191p3518272.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] Mapserver consuming Google Maps

2009-08-26 Thread Smith, Michael ERDC-CRREL-NH
What about using the Google Maps static API and making multiple calls and
tiling? Is that within the TOS?

Mike


On 8/26/09  1:16 PM, "Christopher Schmidt"  wrote:

> On Wed, Aug 26, 2009 at 05:13:53PM +0200, Marco Foi (marco.foi) wrote:
>> Some time ago a similar issue was raised among UDig users and the conclusion
>> was that:
>> IT IS NOT POSSIBLE to consume Google Maps in Desktop clients.
> 
> This isn't strictly true. Desktop clients which are capable of embedding
> a browser can use the browser, render a scene, take the resulting image,
> and display that to the client. There are a number of clients which
> do exactly that in OpenStreetMap editors, for example.
> 
> However, this is obviousl significantly more complex than just fetching the
> tiles, which is the way most people discuss doing it.
> 
> Anything is possible, but that doesn't mean it will be easy.
> 
> Regards,

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


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 05:13:53PM +0200, Marco Foi (marco.foi) wrote:
> Some time ago a similar issue was raised among UDig users and the conclusion 
> was that:
> IT IS NOT POSSIBLE to consume Google Maps in Desktop clients.

This isn't strictly true. Desktop clients which are capable of embedding
a browser can use the browser, render a scene, take the resulting image,
and display that to the client. There are a number of clients which
do exactly that in OpenStreetMap editors, for example.

However, this is obviousl significantly more complex than just fetching the
tiles, which is the way most people discuss doing it.

Anything is possible, but that doesn't mean it will be easy.

Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] MapServer 5.2.1 performance

2009-08-26 Thread Gorka Lopez

Hi,

I have a .map file with 120 layers. All this layers contain different
information and this project is prepared to consume all these layers
together. The style of those layers is basic (some annotations and some
tematics)

This layers consumes PostGIS tables (28 tables) which disk spaces are
between 1 MB and 1GB (database total space: 2,5GB). The indexes of these
tables (gist and btrees indexes) and the statistics are created. These
information are in the same coordinate system that in the requested tiles.

I want to improve the performance and I have the following results for a
512x512 tile:

* 27 milliseconds per visible layer (layers that are visible in the map's
scale (40 layers))
* 18 millisecods per non-visible layer (layers that are not visible in the
map' scale (80 layers))

Is there any solution to improve this results (I just use tilechache
metatile property)? I think that 18 milliseconds per non-visible layer is
too much (only for evaluating wether the requested tile is contained in the
layer's min/max scale)

Thanks for your help.

Best regards,

Gorka López




-- 
View this message in context: 
http://n2.nabble.com/MapServer-5-2-1-performance-tp3516379p3516379.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] Variable-substitution cause WMS GetFeatureInfo error

2009-08-26 Thread Steve Lime
Hmmm... If a the URL overloading works with WMS getMap then it should work with
getFeatureInfo. Can you confirm the former?

Steve

>>> On 8/26/2009 at 10:07 AM, in message
<1251299258021-3515191.p...@n2.nabble.com>, AlessioDL
 wrote:

> Hi,
> 
> I'm creating an application based on UMN-Mapserver used as WMS server. The
> application adds a filtered layer (stored in postgis) to the map, adding
> only the features respondig to the filter value.
> 
> In my mapfile I have this:
> 
> LAYER
> ...
> FILTER "year = %year%"
> ...
> END
> 
> I get the value of %year% from OpenLayer and it works fine: the wms layer is
> filtered as expected and added to the map.
> A problem comes when I try to query the filtered layer with a getfeatureinfo
> request.
> I obtain a syntax error near the % character. It looks like the variable is
> treated as something wrong... Infact, if I replace the variable with a
> static value (for example FILTER "year=2008") the getfeatureinfo works fine.
> 
> Is there a way to obtain a working getfeatureinfo mantaining the variable
> (%year%) in the FILTER?
> 
> Thank you in advance
> 
> 
> The error is this
> 
> -
> 
> 
> prepare_database(): Query error. Error declaring cursor: ERROR:  syntax
> error at or near "%"
> LINE 1: ...t from (SELECT * FROM areas)AS foo WHERE ((year = %YEAR%)) a...
>  ^
> 
> With query string: DECLARE mycursor BINARY CURSOR FOR SELECT
> asbinary(force_collection(force_2d(the_geom)),'NDR'),gid::text from (SELECT
> * FROM areas)AS foo WHERE ((year = %YEAR%)) and (the_geom && setSRID(
> 'BOX3D(15.4467741267663 43.8503721970904,15.5786100642428
> 43.945370093883)'::BOX3D,4326) )
> 
> 
> 

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


Re: [mapserver-users] Problem rendering in MapServer 5.2.1

2009-08-26 Thread Gorka Lopez

Using metaTiles, the problem dissapear.

Thanks Steve for your response.


Gorka Lopez wrote:
> 
> Hi,
> 
>  
> 
> I have installed Map Server for Windows v1.57, that includes MapServer
> 5.2.1 CGI.
> 
>  
> 
> I have written a .map file that consumes information stored in a
> PostGreSQL database (PostgreSQL 8.2 with PostGIS 1.3.2)
> 
>  
> 
> When I ask for a map, in some cases, it appears with a line crossing it
> (see the attached images)
> 
>  
> 
> Requested map using OpenLayers
>  
> 
>  
> 
> 512x512 pixel tile with the incident
>   (see the bottom of
> the image)
> 
>  
> 
> Does anybody know why this line appears?
> 
>  
> 
> Thanks. Best regards,
> 
>  
> 
> Gorka López
> 
> www.geograma.com   
> 
> C/ Castillo de Lantarón 8 Bajo - 01007 Vitoria-Gasteiz Álava
> 
> Tel (+34) 945 13 13 72
> E-mail: gorka.lo...@geograma.com   
> 
>  
> 
>  
> 
> 
>  
> ___
> mapserver-users mailing list
> mapserver-users@lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 
> 

-- 
View this message in context: 
http://n2.nabble.com/Problem-rendering-in-MapServer-5-2-1-tp3502362p3515263.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] Mapserver consuming Google Maps

2009-08-26 Thread Marco Foi (marco.foi)
Some time ago a similar issue was raised among UDig users and the conclusion 
was that:
IT IS NOT POSSIBLE to consume Google Maps in Desktop clients.

The reason is simple: Google does NOT ALLOW this to happen. 
Basically each request for a map tile must come from another server having its 
own public IP.
Each request coming from a Desktop client would be dropped after very few 
answers.

Using Mapserver would be a workaround but would BROKE the LICENSE agreement.

Marco Foi

- Messaggio Originale -
Da: Rahkonen Jukka 
Data: Mercoledi', Agosto 26, 2009 9:47 am
Oggetto: Re: [mapserver-users] Mapserver consuming Google Maps
A: Niels-Peter Jensen 
Cc: mapserver-users@lists.osgeo.org

> Hi,
> 
> Openlayers applications are not cascading Google Maps tiles but 
> client applications are requesting them from Google API, 
> directly from the users computers.
> 
> I think that chapter 10 in the document at 
> http://code.google.com/intl/fi-FI/apis/maps/terms.html says 
> rather clear that you are not allowed to serve Google Map data 
> through your Mapserver.
> 
> -Jukka Rahkonen-
> 
> 
> 
> > -Alkuperäinen viesti-
> > Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
> > [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta 
> > Niels-Peter Jensen
> > Lähetetty: 26. elokuuta 2009 10:05
> > Vastaanottaja: 'Christopher Schmidt'
> > Kopio: mapserver-users@lists.osgeo.org
> > Aihe: SV: [mapserver-users] Mapserver consuming Google Maps
> > 
> > Yes, it could be a violation of terms, but not if the 
> > copyright notice and links still is there - or am I wrong on 
> that ?
> > At least, thats this is what the Openlayers community thinks.
> > I think it would be a very nice if that could be accomplished 
> > with MapServer too.
> > 
> > Niels-Peter
> > 
> > 
> > -Oprindelig meddelelse-
> > Fra: Christopher Schmidt [mailto:crschm...@metacarta.com]
> > Sendt: 25. august 2009 17:14
> > Til: Niels-Peter Jensen
> > Cc: mapserver-users@lists.osgeo.org
> > Emne: Re: [mapserver-users] Mapserver consuming Google Maps
> > 
> > 
> > On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
> > > Hi mapserver users
> > > 
> > > Does anybody know if there has been done work to let 
> > MapServer consume 
> > > Google maps ? I know that this is possible in OpenLayers 
> > (an example:
> > > http://openlayers.org/dev/examples/google.html), but with 
> > MapServer I can
> > > only se it the other way around, MapeServer serving maps 
> > til a GoogleMaps
> > > application by WMS.
> > 
> > Doing so would be a violation of the terms of use of Google Maps.
> > 
> > Regards,
> > -- 
> > Christopher Schmidt
> > MetaCarta
> > No virus found in this incoming message.
> > Checked by AVG - www.avg.com 
> > Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release 
> > Date: 08/24/09
> > 12:55:00
> > 
> > ___
> > 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
> 

Marco Foi
Università degli Studi di Milano
Dip. di Scienze della Terra "A.Desio"
Sezione di Geologia e Paleontologia
Via Luigi Mangiagalli 34 Cap.20133 Milano
Laboratorio Informatico - Tel. 02- 503 15 503
E-mail marco@unimi.it


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


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Bob Basques
All, 

I don't know whether is violates any rules or not, but it can consume the 
Google data just like Open Layers can, because it uses the OpenLayers display 
engine. 

Yes, it's a client, that's why the Server (re-processing) clause in the Google 
restrictions don't (directly?) apply. 

Even if OpenLayers wasn't being used as the display engine, GeoMoose could 
still consume Google maps, but it would be an add-on of some sort.  OpenLayers 
was used to provide this add-on functionality. 

bobb 


>>> Christopher Schmidt  wrote:

On Wed, Aug 26, 2009 at 09:47:06AM -0500, Bob Basques wrote:
> All,
>
> The newest version of GeoMoose is built on top of OpenLayers, so if the 
> OpenLayer LIB is able to directly access, then GeoMoose can too.  I'm not up 
> on the OpenLayers particulars, but as I understand things, the OpenLayers 
> read options were a big reason for incorporating OpenLayers into GeoMoose.
>
> Looks like some GeoMoose Demos need to be put together . . . .

I guess I don't understand something... I thought GeoMoose was a web-based
client. Most web-based clients should be able to consume Google Maps (as I
said); But non-web based clients (generally) can't. (There are exceptions
to this, even without violating the ToS, but they're the exception, rather
than the rule.)

Is GeoMoose a contradiction to that? Or is it instead just another
web client that can consume Google Maps without violating the ToS?

Best Regards,
--
Christopher Schmidt
MetaCarta

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


[mapserver-users] Variable-substitution cause WMS GetFeatureInfo error

2009-08-26 Thread AlessioDL

Hi,

I'm creating an application based on UMN-Mapserver used as WMS server. The
application adds a filtered layer (stored in postgis) to the map, adding
only the features respondig to the filter value.

In my mapfile I have this:

LAYER
...
FILTER "year = %year%"
...
END

I get the value of %year% from OpenLayer and it works fine: the wms layer is
filtered as expected and added to the map.
A problem comes when I try to query the filtered layer with a getfeatureinfo
request.
I obtain a syntax error near the % character. It looks like the variable is
treated as something wrong... Infact, if I replace the variable with a
static value (for example FILTER "year=2008") the getfeatureinfo works fine.

Is there a way to obtain a working getfeatureinfo mantaining the variable
(%year%) in the FILTER?

Thank you in advance


The error is this

-


prepare_database(): Query error. Error declaring cursor: ERROR:  syntax
error at or near "%"
LINE 1: ...t from (SELECT * FROM areas)AS foo WHERE ((year = %YEAR%)) a...
 ^

With query string: DECLARE mycursor BINARY CURSOR FOR SELECT
asbinary(force_collection(force_2d(the_geom)),'NDR'),gid::text from (SELECT
* FROM areas)AS foo WHERE ((year = %YEAR%)) and (the_geom && setSRID(
'BOX3D(15.4467741267663 43.8503721970904,15.5786100642428
43.945370093883)'::BOX3D,4326) )



-- 
View this message in context: 
http://n2.nabble.com/Variable-substitution-cause-WMS-GetFeatureInfo-error-tp3515191p3515191.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: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 09:47:06AM -0500, Bob Basques wrote:
> All, 
> 
> The newest version of GeoMoose is built on top of OpenLayers, so if the 
> OpenLayer LIB is able to directly access, then GeoMoose can too.  I'm not up 
> on the OpenLayers particulars, but as I understand things, the OpenLayers 
> read options were a big reason for incorporating OpenLayers into GeoMoose. 
> 
> Looks like some GeoMoose Demos need to be put together . . . . 

I guess I don't understand something... I thought GeoMoose was a web-based
client. Most web-based clients should be able to consume Google Maps (as I
said); But non-web based clients (generally) can't. (There are exceptions
to this, even without violating the ToS, but they're the exception, rather
than the rule.)

Is GeoMoose a contradiction to that? Or is it instead just another 
web client that can consume Google Maps without violating the ToS?

Best Regards,
-- 
Christopher Schmidt
MetaCarta
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Bob Basques
All, 

The newest version of GeoMoose is built on top of OpenLayers, so if the 
OpenLayer LIB is able to directly access, then GeoMoose can too.  I'm not up on 
the OpenLayers particulars, but as I understand things, the OpenLayers read 
options were a big reason for incorporating OpenLayers into GeoMoose. 

Looks like some GeoMoose Demos need to be put together . . . . 

bobb 



>>> Jacolin Yves  wrote:



One of this day, QGIS should be able to consume Google Maps, see [1]. However
I don't know if it will be in trunk ;)


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


Re: [mapserver-users] layers not getting separated

2009-08-26 Thread Steve . Toutant
and your mapfile as well?

Steve Toutant, M. Sc.
Analyste en géomatique
Secteur environnement
Direction des risques biologiques, environnementaux et occupationnels
Institut national de santé publique du Québec
945, avenue Wolfe
Québec, Qc G1V 5B3 
Tél.: (418) 650-5115 #5281
Fax.: (418) 654-3144
steve.tout...@inspq.qc.ca
http://www.inspq.qc.ca
 




Pavel Iacovlev @lists.osgeo.org 
Envoyé par : mapserver-users-boun...@lists.osgeo.org
26/08/2009 09:35 AM

A
sunny74 
cc
mapserver-users@lists.osgeo.org
Objet
Re: [mapserver-users] layers not getting separated








Can we see your OpenLayers JS code ?

On Wed, Aug 26, 2009 at 3:46 PM, sunny74 wrote:
>
> Dear Friends,
>
> I am displaying a map using mapserver and openlayers.The map is 
displayed
> using a map file kept within a folder containing shape files.
> Although the map is getting displayed, if I add more than one layer the
> layers are not getting separated.
> i.e I can see the layer in the Layer switcher but if I check or uncheck
> nothing happens.
> This means all the layers are coming as a single image.
> I feel that there is something in the map file which I have ommitted and 
so
> this happens.
> I used QGIS to create the map file.
>
> Looking for a solution.
>
> Thanks for your replies.
> --
> View this message in context: 
http://n2.nabble.com/layers-not-getting-separated-tp3514899p3514899.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
>



-- 
http://iap.md, The future is open
___
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: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Jacolin Yves
Hello,

Le Wednesday 26 August 2009 16:17:54 Christopher Schmidt, vous avez écrit :
> On Wed, Aug 26, 2009 at 09:20:30AM +0200, Till Adams wrote:
> > [..]
>
> Many clients *can't* do this, and it does cause a problem for those
> clients. For example, it's difficult for qgis to consume Google Maps tiles,
> last I looked, but it can consume a WMS easily, so you can imagine using
> MapServer as the integration point.

One of this day, QGIS should be able to consume Google Maps, see [1]. However 
I don't know if it will be in trunk ;)

Regards;

Y.
[1] http://blog.qgis.org/node/125
-- 
Yves Jacolin

Ne demandez pas si vous pouvez contribuer, contribuez ! :)
---
http://softlibre.gloobe.org
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Till Adams

Chris,

regarding the non-webbased clients you are right...


On Wed, Aug 26, 2009 at 09:20:30AM +0200, Till Adams wrote:
  

Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with  
GoogleMaps, e.g. reprojection or define your map layout in an easy way.  
Even if you would write some piece of code, which would enable mapserver  
getting that google tiles as a datasource you'll have at least a slower  
service than pure google and - if reprojecting the google stuff - you'll  
have "unreadable" maps with distorted labels.


So beside the fact Chris already mentioned - I think if you have a  
client, which is able to show Mapserver services AND google map services  
together, you're fine, or what is your intention?



Many clients *can't* do this, and it does cause a problem for those clients.
For example, it's difficult for qgis to consume Google Maps tiles, last
I looked, but it can consume a WMS easily, so you can imagine using
MapServer as the integration point. 

Web-based clients aren't the only types of clients that MapServer 
WMSes have, and are the only clients that can consume Google Maps. 

  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

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


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 09:20:30AM +0200, Till Adams wrote:
> Niels-Peter,
>
> I really do not see the need for this.
>
> All things, which are fun regarding Mapserver are not possible with  
> GoogleMaps, e.g. reprojection or define your map layout in an easy way.  
> Even if you would write some piece of code, which would enable mapserver  
> getting that google tiles as a datasource you'll have at least a slower  
> service than pure google and - if reprojecting the google stuff - you'll  
> have "unreadable" maps with distorted labels.
>
> So beside the fact Chris already mentioned - I think if you have a  
> client, which is able to show Mapserver services AND google map services  
> together, you're fine, or what is your intention?

Many clients *can't* do this, and it does cause a problem for those clients.
For example, it's difficult for qgis to consume Google Maps tiles, last
I looked, but it can consume a WMS easily, so you can imagine using
MapServer as the integration point. 

Web-based clients aren't the only types of clients that MapServer 
WMSes have, and are the only clients that can consume Google Maps. 

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


Re: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Christopher Schmidt
On Wed, Aug 26, 2009 at 09:04:59AM +0200, Niels-Peter Jensen wrote:
> Yes, it could be a violation of terms, but not if the copyright notice and
> links still is there - or am I wrong on that ?

You are wrong on that.

> At least, thats this is what the Openlayers community thinks.

That is incorrect. OpenLayers uses the Google Maps API -- we do not 
use the tiles directly. We only access the Google Maps data through their
Javascript API, in a browser. 
 
> I think it would be a very nice if that could be accomplished with MapServer
> too.

MapServer can't do the same thing in any practical manner.

-- 
Christohper Schmidt
OpenLayers Core Developer

> Niels-Peter
> 
> 
> -Oprindelig meddelelse-
> Fra: Christopher Schmidt [mailto:crschm...@metacarta.com] 
> Sendt: 25. august 2009 17:14
> Til: Niels-Peter Jensen
> Cc: mapserver-users@lists.osgeo.org
> Emne: Re: [mapserver-users] Mapserver consuming Google Maps
> 
> 
> On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
> > Hi mapserver users
> > 
> > Does anybody know if there has been done work to let MapServer consume 
> > Google maps ? I know that this is possible in OpenLayers (an example:
> > http://openlayers.org/dev/examples/google.html), but with MapServer I can
> > only se it the other way around, MapeServer serving maps til a GoogleMaps
> > application by WMS.
> 
> Doing so would be a violation of the terms of use of Google Maps.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/24/09
> 12:55:00
> 
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


Re: [mapserver-users] layers not getting separated

2009-08-26 Thread Pavel Iacovlev
Can we see your OpenLayers JS code ?

On Wed, Aug 26, 2009 at 3:46 PM, sunny74 wrote:
>
> Dear Friends,
>
> I am displaying a map using mapserver and openlayers.The map is displayed
> using a map file kept within a folder containing shape files.
> Although the map is getting displayed, if I add more than one layer the
> layers are not getting separated.
> i.e I can see the layer in the Layer switcher but if I check or uncheck
> nothing happens.
> This means all the layers are coming as a single image.
> I feel that there is something in the map file which I have ommitted and so
> this happens.
> I used QGIS to create the map file.
>
> Looking for a solution.
>
> Thanks for your replies.
> --
> View this message in context: 
> http://n2.nabble.com/layers-not-getting-separated-tp3514899p3514899.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
>



-- 
http://iap.md, The future is open
___
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users


[mapserver-users] layers not getting separated

2009-08-26 Thread sunny74

Dear Friends,

I am displaying a map using mapserver and openlayers.The map is displayed
using a map file kept within a folder containing shape files.
Although the map is getting displayed, if I add more than one layer the
layers are not getting separated.
i.e I can see the layer in the Layer switcher but if I check or uncheck
nothing happens.
This means all the layers are coming as a single image.
I feel that there is something in the map file which I have ommitted and so
this happens.
I used QGIS to create the map file.

Looking for a solution.

Thanks for your replies.
-- 
View this message in context: 
http://n2.nabble.com/layers-not-getting-separated-tp3514899p3514899.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: SV: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Smith, Michael ERDC-CRREL-NH
Bing maps is providing a WMS interface via OnTerra
There is an article about it here

http://apb.directionsmag.com/archives/6370-Bing-Maps-via-WMS.html

It would be a better approach.


Mike

-- 
Michael Smith
RSGIS Center
US Army Corps of Engineers




On 8/26/09  4:17 AM, "Till Adams"  wrote:

> Niels-Peter,
> 
> the features you mention (turning on/off layers, changing order of
> layers) are for me more client side features than serverside- or
> mapserver-features - which brings us back to the client... ;-)
> 
> If you are looking for a free basemap you may check openstreetmap (OK,
> no aerial images so far, but also in progress:
> http://wiki.openaerialmap.org/OAM_2009 )
> 
> Regards, Till
> 
> 
>> Hi Till
>> 
>> I see the google maps tiles as a way of getting a free basemap. You are
>> properly right regarding distroted labels when reprojecting googlemaps -
>> depending on where you are in the world and the final projection. But at
>> least a pure sattelite image would ok.
>> 
>> I could make a client to consume both Mapserver and Googlemaps, but I would
>> like to do it on the server side and be able to use MapServer features, eg.
>> turning on/off layers, changing order of layers and so on.
>> 
>> Regards Niels-Peter
>> 
>> 
>> -Oprindelig meddelelse-
>> Fra: Till Adams [mailto:ad...@terrestris.de]
>> Sendt: 26. august 2009 09:21
>> Til: Niels-Peter Jensen
>> Cc: mapserver-users@lists.osgeo.org
>> Emne: Re: SV: [mapserver-users] Mapserver consuming Google Maps
>> 
>> 
>> Niels-Peter,
>> 
>> I really do not see the need for this.
>> 
>> All things, which are fun regarding Mapserver are not possible with
>> GoogleMaps, e.g. reprojection or define your map layout in an easy way.
>> Even if you would write some piece of code, which would enable mapserver
>> getting that google tiles as a datasource you'll have at least a slower
>> service than pure google and - if reprojecting the google stuff - you'll
>> have "unreadable" maps with distorted labels.
>> 
>> So beside the fact Chris already mentioned - I think if you have a
>> client, which is able to show Mapserver services AND google map services
>> together, you're fine, or what is your intention?
>> 
>> Regards, Till
>> 
>>   
>>> Yes, it could be a violation of terms, but not if the copyright notice
>>> and links still is there - or am I wrong on that ? At least, thats
>>> this is what the Openlayers community thinks. I think it would be a
>>> very nice if that could be accomplished with MapServer too.
>>> 
>>> Niels-Peter
>>> 
>>> 
>>> -Oprindelig meddelelse-
>>> Fra: Christopher Schmidt [mailto:crschm...@metacarta.com]
>>> Sendt: 25. august 2009 17:14
>>> Til: Niels-Peter Jensen
>>> Cc: mapserver-users@lists.osgeo.org
>>> Emne: Re: [mapserver-users] Mapserver consuming Google Maps
>>> 
>>> 
>>> On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
>>>   
>>> 
 Hi mapserver users
 
 Does anybody know if there has been done work to let MapServer
 consume
 Google maps ? I know that this is possible in OpenLayers (an example:
 http://openlayers.org/dev/examples/google.html), but with MapServer I can
 only se it the other way around, MapeServer serving maps til a GoogleMaps
 application by WMS.
 
   
>>> Doing so would be a violation of the terms of use of Google Maps.
>>> 
>>> Regards,
>>>   
>>> 
>> 
>> 
>>   
> 

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


Re: SV: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Till Adams

Niels-Peter,

the features you mention (turning on/off layers, changing order of 
layers) are for me more client side features than serverside- or 
mapserver-features - which brings us back to the client... ;-)


If you are looking for a free basemap you may check openstreetmap (OK, 
no aerial images so far, but also in progress: 
http://wiki.openaerialmap.org/OAM_2009 )


Regards, Till



Hi Till

I see the google maps tiles as a way of getting a free basemap. You are
properly right regarding distroted labels when reprojecting googlemaps -
depending on where you are in the world and the final projection. But at
least a pure sattelite image would ok.

I could make a client to consume both Mapserver and Googlemaps, but I would
like to do it on the server side and be able to use MapServer features, eg.
turning on/off layers, changing order of layers and so on.

Regards Niels-Peter


-Oprindelig meddelelse-
Fra: Till Adams [mailto:ad...@terrestris.de] 
Sendt: 26. august 2009 09:21

Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: SV: [mapserver-users] Mapserver consuming Google Maps


Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with 
GoogleMaps, e.g. reprojection or define your map layout in an easy way. 
Even if you would write some piece of code, which would enable mapserver 
getting that google tiles as a datasource you'll have at least a slower 
service than pure google and - if reprojecting the google stuff - you'll 
have "unreadable" maps with distorted labels.


So beside the fact Chris already mentioned - I think if you have a 
client, which is able to show Mapserver services AND google map services 
together, you're fine, or what is your intention?


Regards, Till

  
Yes, it could be a violation of terms, but not if the copyright notice 
and links still is there - or am I wrong on that ? At least, thats 
this is what the Openlayers community thinks. I think it would be a 
very nice if that could be accomplished with MapServer too.


Niels-Peter


-Oprindelig meddelelse-
Fra: Christopher Schmidt [mailto:crschm...@metacarta.com]
Sendt: 25. august 2009 17:14
Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: [mapserver-users] Mapserver consuming Google Maps


On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
  


Hi mapserver users

Does anybody know if there has been done work to let MapServer 
consume

Google maps ? I know that this is possible in OpenLayers (an example:
http://openlayers.org/dev/examples/google.html), but with MapServer I can
only se it the other way around, MapeServer serving maps til a GoogleMaps
application by WMS.

  

Doing so would be a violation of the terms of use of Google Maps.

Regards,
  




  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

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


SV: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Niels-Peter Jensen
Hi Till

I see the google maps tiles as a way of getting a free basemap. You are
properly right regarding distroted labels when reprojecting googlemaps -
depending on where you are in the world and the final projection. But at
least a pure sattelite image would ok.

I could make a client to consume both Mapserver and Googlemaps, but I would
like to do it on the server side and be able to use MapServer features, eg.
turning on/off layers, changing order of layers and so on.

Regards Niels-Peter


-Oprindelig meddelelse-
Fra: Till Adams [mailto:ad...@terrestris.de] 
Sendt: 26. august 2009 09:21
Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: SV: [mapserver-users] Mapserver consuming Google Maps


Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with 
GoogleMaps, e.g. reprojection or define your map layout in an easy way. 
Even if you would write some piece of code, which would enable mapserver 
getting that google tiles as a datasource you'll have at least a slower 
service than pure google and - if reprojecting the google stuff - you'll 
have "unreadable" maps with distorted labels.

So beside the fact Chris already mentioned - I think if you have a 
client, which is able to show Mapserver services AND google map services 
together, you're fine, or what is your intention?

Regards, Till

> Yes, it could be a violation of terms, but not if the copyright notice 
> and links still is there - or am I wrong on that ? At least, thats 
> this is what the Openlayers community thinks. I think it would be a 
> very nice if that could be accomplished with MapServer too.
>
> Niels-Peter
>
>
> -Oprindelig meddelelse-
> Fra: Christopher Schmidt [mailto:crschm...@metacarta.com]
> Sendt: 25. august 2009 17:14
> Til: Niels-Peter Jensen
> Cc: mapserver-users@lists.osgeo.org
> Emne: Re: [mapserver-users] Mapserver consuming Google Maps
>
>
> On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
>   
>> Hi mapserver users
>>
>> Does anybody know if there has been done work to let MapServer 
>> consume
>> Google maps ? I know that this is possible in OpenLayers (an example:
>> http://openlayers.org/dev/examples/google.html), but with MapServer I can
>> only se it the other way around, MapeServer serving maps til a GoogleMaps
>> application by WMS.
>> 
>
> Doing so would be a violation of the terms of use of Google Maps.
>
> Regards,
>   


-- 
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/25/09
18:07:00

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


Re: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Rahkonen Jukka
Hi,

Openlayers applications are not cascading Google Maps tiles but client 
applications are requesting them from Google API, directly from the users 
computers.

I think that chapter 10 in the document at 
http://code.google.com/intl/fi-FI/apis/maps/terms.html says rather clear that 
you are not allowed to serve Google Map data through your Mapserver.

-Jukka Rahkonen-



> -Alkuperäinen viesti-
> Lähettäjä: mapserver-users-boun...@lists.osgeo.org 
> [mailto:mapserver-users-boun...@lists.osgeo.org] Puolesta 
> Niels-Peter Jensen
> Lähetetty: 26. elokuuta 2009 10:05
> Vastaanottaja: 'Christopher Schmidt'
> Kopio: mapserver-users@lists.osgeo.org
> Aihe: SV: [mapserver-users] Mapserver consuming Google Maps
> 
> Yes, it could be a violation of terms, but not if the 
> copyright notice and links still is there - or am I wrong on that ?
> At least, thats this is what the Openlayers community thinks.
> I think it would be a very nice if that could be accomplished 
> with MapServer too.
> 
> Niels-Peter
> 
> 
> -Oprindelig meddelelse-
> Fra: Christopher Schmidt [mailto:crschm...@metacarta.com]
> Sendt: 25. august 2009 17:14
> Til: Niels-Peter Jensen
> Cc: mapserver-users@lists.osgeo.org
> Emne: Re: [mapserver-users] Mapserver consuming Google Maps
> 
> 
> On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
> > Hi mapserver users
> > 
> > Does anybody know if there has been done work to let 
> MapServer consume 
> > Google maps ? I know that this is possible in OpenLayers 
> (an example:
> > http://openlayers.org/dev/examples/google.html), but with 
> MapServer I can
> > only se it the other way around, MapeServer serving maps 
> til a GoogleMaps
> > application by WMS.
> 
> Doing so would be a violation of the terms of use of Google Maps.
> 
> Regards,
> -- 
> Christopher Schmidt
> MetaCarta
> No virus found in this incoming message.
> Checked by AVG - www.avg.com 
> Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release 
> Date: 08/24/09
> 12:55:00
> 
> ___
> 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: SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Till Adams

Niels-Peter,

I really do not see the need for this.

All things, which are fun regarding Mapserver are not possible with 
GoogleMaps, e.g. reprojection or define your map layout in an easy way. 
Even if you would write some piece of code, which would enable mapserver 
getting that google tiles as a datasource you'll have at least a slower 
service than pure google and - if reprojecting the google stuff - you'll 
have "unreadable" maps with distorted labels.


So beside the fact Chris already mentioned - I think if you have a 
client, which is able to show Mapserver services AND google map services 
together, you're fine, or what is your intention?


Regards, Till


Yes, it could be a violation of terms, but not if the copyright notice and
links still is there - or am I wrong on that ?
At least, thats this is what the Openlayers community thinks.
I think it would be a very nice if that could be accomplished with MapServer
too.

Niels-Peter


-Oprindelig meddelelse-
Fra: Christopher Schmidt [mailto:crschm...@metacarta.com] 
Sendt: 25. august 2009 17:14

Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: [mapserver-users] Mapserver consuming Google Maps


On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
  

Hi mapserver users

Does anybody know if there has been done work to let MapServer consume 
Google maps ? I know that this is possible in OpenLayers (an example:

http://openlayers.org/dev/examples/google.html), but with MapServer I can
only se it the other way around, MapeServer serving maps til a GoogleMaps
application by WMS.



Doing so would be a violation of the terms of use of Google Maps.

Regards,
  



--
--
terrestris GmbH & Co. KG
Irmintrudisstrasse 17
53111 Bonn
Germany

Till Adams
Geschäftsführung

Tel: +49 (0)228 / 962 899-52
Fax: +49 (0)228 / 962 899-57
ad...@terrestris.de http://www.terrestris.de
Amtsgericht Bonn, HRA 6835
-

Komplementärin:

terrestris Verwaltungs GmbH

vertreten durch:
Hinrich Paulsen, Till Adams

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


Re: [mapserver-users] Documentation update

2009-08-26 Thread paalkr

Hi!

Do I need to do make any changes or something to the ticket, to get a
feedback on this issue?

Regards,
Pål Kristensen



paalkr wrote:
> 
> Bump
> 
> Pål
> 
> 
> paalkr wrote:
>> 
>> Done, http://trac.osgeo.org/mapserver/ticket/2909#preview
>> 
>> Pål
>> 
>> 
>> Jeff McKenna wrote:
>>> 
>>> paalkr wrote:
 Hi!
 
 I would suggest that someone with the right privileges adds the
 following
 the the documentation
 
 In the LAYER mapfile reference
 (http://mapserver.org/mapfile/layer.html),
 new headline Label directives:
 PROCESSING "LABEL_NO_CLIP=True"
 
 In the Raster Data, Special Processing Directives
 (http://mapserver.org/input/raster.html#special-processing-directives)
 PROCESSING "OVERSAMPLE_RATIO=[int]"
 
 Both are quite handy, and information about usage should be easy
 accessible
 in the documentation.
 
 Regards,
 Pål Kristensen
>>> 
>>> 
>>> Please file any documentation changes you need through the MapServer 
>>> Issue Tracker, in the "MapServer Documentation" component.  Thank you. 
>>> (otherwise mailing list emails are lost and forgotten)
>>> 
>>> -jeff
>>> 
>>> 
>>> 
>>> -- 
>>> Jeff McKenna
>>> FOSS4G 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
>>> 
>>> 
>> 
>> 
> 
> 


-

Regards,
Pål Kristensen
-- 
View this message in context: 
http://n2.nabble.com/Documentation-update-tp2396593p3514320.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


SV: [mapserver-users] Mapserver consuming Google Maps

2009-08-26 Thread Niels-Peter Jensen
Yes, it could be a violation of terms, but not if the copyright notice and
links still is there - or am I wrong on that ?
At least, thats this is what the Openlayers community thinks.
I think it would be a very nice if that could be accomplished with MapServer
too.

Niels-Peter


-Oprindelig meddelelse-
Fra: Christopher Schmidt [mailto:crschm...@metacarta.com] 
Sendt: 25. august 2009 17:14
Til: Niels-Peter Jensen
Cc: mapserver-users@lists.osgeo.org
Emne: Re: [mapserver-users] Mapserver consuming Google Maps


On Tue, Aug 25, 2009 at 04:42:27PM +0200, Niels-Peter Jensen wrote:
> Hi mapserver users
> 
> Does anybody know if there has been done work to let MapServer consume 
> Google maps ? I know that this is possible in OpenLayers (an example:
> http://openlayers.org/dev/examples/google.html), but with MapServer I can
> only se it the other way around, MapeServer serving maps til a GoogleMaps
> application by WMS.

Doing so would be a violation of the terms of use of Google Maps.

Regards,
-- 
Christopher Schmidt
MetaCarta
No virus found in this incoming message.
Checked by AVG - www.avg.com 
Version: 8.5.409 / Virus Database: 270.13.65/2324 - Release Date: 08/24/09
12:55:00

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