From Bob.Bistrais at maine.gov Tue Apr 7 14:27:30 2009
From: Bob.Bistrais at maine.gov (Bistrais, Bob)
Date: Tue, 7 Apr 2009 15:27:30 -0400
Subject: [ka-Map-users] Bypassing the map chooser
Message-ID: <4EFF8BB964547748A07CA32961810C0412C4860A@SOM-TEAQASMAIL1.som.w2k.state.me.us>
I'm building a modified Ka-Map application based on the index.html
version of Ka-Map. I would like to eliminate the use of the map
selector drop down box. Instead, I would like the application to always
load a specific .Map file. This file is listed in my config.php file.
I've been looking through the various code files but haven't figured out
how to do what I need to do. Does anyone have any suggestions?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090407/e77b09aa/attachment.htm
From agf at syddjurs.dk Wed Apr 8 02:19:02 2009
From: agf at syddjurs.dk (Allan Gyldendal Frederiksen)
Date: Wed, 8 Apr 2009 09:19:02 +0200
Subject: [ka-Map-users] Kamap layer in Openlayers
Message-ID: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA1D@706exc02.intern.syddjurs.dk>
I have tried to load a kamap layer in Openlayers.
I have used the Kamap example from Openlayers. The problem is, that the example do not work properly. I have searched Kamaps mailinglists, and altered the code accordingly. But it still do not work.
I have a working Kamap application at http://webkort.syddjurs.dk:8080/kamap/ but using this gives the same result as the local application.
Does anyone have an idea of what I am missing to get it working.
The Openlayers code is:
OpenLayers KaMap Example
KaMap Example
Demonstrate a tiled kamap layer as the base map, which can be pre-cached for higher performance.
Venlig hilsen
Allan Gyldendal Frederiksen
GIS-Koordinator
IT-afdelingen
Direkte 87535261
Mobil 30924749
agf at syddjurs.dk
________________________________
Syddjurs Kommune * IT-afdelingen * Hovedgaden 77 * 8410 R?nde * Tlf 87535000 * www.syddjurs.dk
________________________________
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090408/36c58c28/attachment.htm
From lorenzo at ominiverdi.com Wed Apr 8 06:32:06 2009
From: lorenzo at ominiverdi.com (Lorenzo Becchi)
Date: Wed, 08 Apr 2009 13:32:06 +0200
Subject: [ka-Map-users] Kamap layer in Openlayers
In-Reply-To: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA1D@706exc02.intern.syddjurs.dk>
References: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA1D@706exc02.intern.syddjurs.dk>
Message-ID: <49DC8B36.3000309@ominiverdi.com>
Allan, can you please provide a copy of your OL page that try to use the
working ka-map you have at syddjurs.dk?
you've have sent us the code of your localhost app and there's no way
for us to check it.
lorenzo
Allan Gyldendal Frederiksen wrote:
> I have tried to load a kamap layer in Openlayers.
> I have used the Kamap example from Openlayers. The problem is, that
> the example do not work properly. I have searched Kamaps mailinglists,
> and altered the code accordingly. But it still do not work.
> I have a working Kamap application at
> http://webkort.syddjurs.dk:8080/kamap/ but using this gives the same
> result as the local application.
> Does anyone have an idea of what I am missing to get it working.
> The Openlayers code is:
>
>
> OpenLayers KaMap Example
> type="text/css" />
>
>
>
>
>
>
KaMap Example
>
>
> Demonstrate a tiled kamap layer as the base map, which can be
> pre-cached for higher performance.
>
>
>
>
>
>
> Venlig hilsen
>
> *Allan Gyldendal Frederiksen*
> GIS-Koordinator
> IT-afdelingen
>
> Direkte 87535261
> Mobil 30924749
> agf at syddjurs.dk
> ------------------------------------------------------------------------
> Syddjurs Kommune ? IT-afdelingen ? Hovedgaden 77 ? 8410 R?nde ? Tlf
> 87535000 ? www.syddjurs.dk
> ------------------------------------------------------------------------
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
From lorenzo at ominiverdi.com Wed Apr 8 06:32:45 2009
From: lorenzo at ominiverdi.com (Lorenzo Becchi)
Date: Wed, 08 Apr 2009 13:32:45 +0200
Subject: [ka-Map-users] Bypassing the map chooser
In-Reply-To: <4EFF8BB964547748A07CA32961810C0412C4860A@SOM-TEAQASMAIL1.som.w2k.state.me.us>
References: <4EFF8BB964547748A07CA32961810C0412C4860A@SOM-TEAQASMAIL1.som.w2k.state.me.us>
Message-ID: <49DC8B5D.7000607@ominiverdi.com>
Bob,
some methods to have your map choosen at startup:
1) config.php
set the variable $szMap with the map name you want:
$szMap = 'gmap';
2) index.html
if you haven't altered that much startUp.js you can always use a call
like this to your page:
http://www.ominiverdi.org/ka-map/ka-map/htdocs/?map=europe
3) in startUp.js
You can force this variable to let ka-map choose just the map you want:
var szMap = 'myMapName';
instead of:
var szMap = getQueryParam('map');
To eliminate the use of map selector you can do in a couple of way:
1) dirty
set "display:none" to the style of the select element.
2) clean
clean un startUp.js from the code of the select, look in myMapInitialized
probably there's something more to clean
ciao
lorenzo
Bistrais, Bob wrote:
>
> I'm building a modified Ka-Map application based on the index.html
> version of Ka-Map. I would like to eliminate the use of the map
> selector drop down box. Instead, I would like the application to
> always load a specific .Map file. This file is listed in my
> config.php file.
>
> I've been looking through the various code files but haven't figured
> out how to do what I need to do. Does anyone have any suggestions?
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
From Bob.Bistrais at maine.gov Wed Apr 8 09:34:16 2009
From: Bob.Bistrais at maine.gov (Bistrais, Bob)
Date: Wed, 8 Apr 2009 10:34:16 -0400
Subject: [ka-Map-users] Bypassing the map chooser
In-Reply-To: <49DC8B5D.7000607@ominiverdi.com>
References: <4EFF8BB964547748A07CA32961810C0412C4860A@SOM-TEAQASMAIL1.som.w2k.state.me.us>
<49DC8B5D.7000607@ominiverdi.com>
Message-ID: <4EFF8BB964547748A07CA32961810C0412C48611@SOM-TEAQASMAIL1.som.w2k.state.me.us>
Thank you Lorenzo! I used the third method you listed (in startUp.js),
and it works well.
-----Original Message-----
From: Lorenzo Becchi [mailto:lorenzo at ominiverdi.com]
Sent: Wednesday, April 08, 2009 7:33 AM
To: Bistrais, Bob
Cc: ka-map-users at lists.maptools.org
Subject: Re: [ka-Map-users] Bypassing the map chooser
Bob,
some methods to have your map choosen at startup:
1) config.php
set the variable $szMap with the map name you want:
$szMap = 'gmap';
2) index.html
if you haven't altered that much startUp.js you can always use a call
like this to your page:
http://www.ominiverdi.org/ka-map/ka-map/htdocs/?map=europe
3) in startUp.js
You can force this variable to let ka-map choose just the map you want:
var szMap = 'myMapName';
instead of:
var szMap = getQueryParam('map');
To eliminate the use of map selector you can do in a couple of way:
1) dirty
set "display:none" to the style of the select element.
2) clean
clean un startUp.js from the code of the select, look in
myMapInitialized
probably there's something more to clean
ciao
lorenzo
Bistrais, Bob wrote:
>
> I'm building a modified Ka-Map application based on the index.html
> version of Ka-Map. I would like to eliminate the use of the map
> selector drop down box. Instead, I would like the application to
> always load a specific .Map file. This file is listed in my
> config.php file.
>
> I've been looking through the various code files but haven't figured
> out how to do what I need to do. Does anyone have any suggestions?
>
>
------------------------------------------------------------------------
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
From agf at syddjurs.dk Fri Apr 10 16:16:49 2009
From: agf at syddjurs.dk (Allan Gyldendal Frederiksen)
Date: Fri, 10 Apr 2009 23:16:49 +0200
Subject: [ka-Map-users] Kamap layer in Openlayers
References: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA1D@706exc02.intern.syddjurs.dk>
<49DC8B36.3000309@ominiverdi.com>
Message-ID: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA20@706exc02.intern.syddjurs.dk>
Sorry I didn?t think about it. But it is quite similar. Here is the Openlayers code for Webkort.syddjurs.dk
The Openlayer Code is referenced locally because I use the download from Openlayers.org
OpenLayers KaMap Example
KaMap Example
Demonstrate a tiled kamap layer as the base map, which can be pre-cached for higher performance.
Allan
-----Oprindelig meddelelse-----
Fra: Lorenzo Becchi [mailto:lorenzo at ominiverdi.com]
Sendt: 8. april 2009 13:32
Til: Allan Gyldendal Frederiksen
Cc: ka-map-users at lists.maptools.org
Emne: Re: [ka-Map-users] Kamap layer in Openlayers
Allan, can you please provide a copy of your OL page that try to use the working ka-map you have at syddjurs.dk?
you've have sent us the code of your localhost app and there's no way for us to check it.
lorenzo
Allan Gyldendal Frederiksen wrote:
> I have tried to load a kamap layer in Openlayers.
> I have used the Kamap example from Openlayers. The problem is, that
> the example do not work properly. I have searched Kamaps mailinglists,
> and altered the code accordingly. But it still do not work.
> I have a working Kamap application at
> http://webkort.syddjurs.dk:8080/kamap/ but using this gives the same
> result as the local application.
> Does anyone have an idea of what I am missing to get it working.
> The Openlayers code is:
>
>
> OpenLayers KaMap Example href="../theme/default/style.css"
> type="text/css" />
>
>
>
>
>
KaMap Example
>
>
> Demonstrate a tiled kamap layer as the base map, which can be
> pre-cached for higher performance.
>
>
>
>
>
>
> Venlig hilsen
>
> *Allan Gyldendal Frederiksen*
> GIS-Koordinator
> IT-afdelingen
>
> Direkte 87535261
> Mobil 30924749
> agf at syddjurs.dk
> ----------------------------------------------------------------------
> -- Syddjurs Kommune * IT-afdelingen * Hovedgaden 77 * 8410 R?nde * Tlf
> 87535000 * www.syddjurs.dk
> ----------------------------------------------------------------------
> --
>
> ----------------------------------------------------------------------
> --
>
> _______________________________________________
> ka-Map-users mailing list
> ka-Map-users at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/ka-map-users
>
From lorenzo at ominiverdi.com Fri Apr 10 17:04:53 2009
From: lorenzo at ominiverdi.com (Lorenzo Becchi)
Date: Sat, 11 Apr 2009 00:04:53 +0200
Subject: [ka-Map-users] Kamap layer in Openlayers
In-Reply-To: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA20@706exc02.intern.syddjurs.dk>
References: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA1D@706exc02.intern.syddjurs.dk>
<49DC8B36.3000309@ominiverdi.com>
<2836E1E5A0503147BD3F0BE6F3A4117702A9EA20@706exc02.intern.syddjurs.dk>
Message-ID: <49DFC285.5020909@ominiverdi.com>
ka-map's call:
http://webkort.syddjurs.dk:8080/kamap/tile.php?map=gmap&t=-80640&l=7424&s=220000&g=__base__&i=AGGA
your call on OL:
http://webkort.syddjurs.dk:8080/kamap/tile.php?map=gmap&i=jpeg&t=-50432&l=4608&s=351614.7429
my working call on OL:
http://webkort.syddjurs.dk:8080/kamap/tile.php?map=gmap&i=AGGA&g=__base__&t=-80384&l=7424&s=220000
how I did it?!?
the code below
please, close the ticket [1] suggesting them an OL Map using our server
[2] an layers (bluemarble: '__base__', country borders: 'Countries',
country names: 'Labels'). Scales:
'100000000','50000000','25000000','10000000'.
please, do the map yourself to make them easy to add to examples
ciao
lorenzo
[1] http://trac.openlayers.org/ticket/2036
[2] http://ominiverdi.org/ka-map/ka-map/htdocs/
[3]
http://ominiverdi.org/ka-map/ka-map/htdocs/tile.php?map=cvs&t=-200&l=-400&s=100000000&g=__base__&i=JPEG
[4]
http://ominiverdi.org/ka-map/ka-map/htdocs/tile.php?map=cvs&t=-200&l=-400&s=100000000&g=Countries&i=PNG
[5]
http://ominiverdi.org/ka-map/ka-map/htdocs/tile.php?map=cvs&t=-200&l=-400&s=100000000&g=Labels&i=PNG
----------------------------
ka-map's call:
http://webkort.syddjurs.dk:8080/kamap/tile.php?map=gmap&t=-80640&l=7424&s=220000&g=__base__&i=AGGA
your call on OL:
http://webkort.syddjurs.dk:8080/kamap/tile.php?map=gmap&i=jpeg&t=-50432&l=4608&s=351614.7429
my working call on OL:
http://webkort.syddjurs.dk:8080/kamap/tile.php?map=gmap&i=AGGA&g=__base__&t=-80384&l=7424&s=220000
how I did it?!?
here's the code:
OpenLayers KaMap Example
KaMap Example
Demonstrate a tiled kamap layer as the base map, which can be
pre-cached for higher performance.
From agf at syddjurs.dk Tue Apr 14 06:59:36 2009
From: agf at syddjurs.dk (Allan Gyldendal Frederiksen)
Date: Tue, 14 Apr 2009 13:59:36 +0200
Subject: [ka-Map-users] Kamap layer in Openlayers
References: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA1D@706exc02.intern.syddjurs.dk>
<49DC8B36.3000309@ominiverdi.com>
<2836E1E5A0503147BD3F0BE6F3A4117702A9EA20@706exc02.intern.syddjurs.dk>
<49DFC285.5020909@ominiverdi.com>
Message-ID: <2836E1E5A0503147BD3F0BE6F3A4117702A9EA26@706exc02.intern.syddjurs.dk>
Thank you very much. Your help is very much appreciated.
I have now made a new Kamap example to include in the Openlayers
distribution, and closed the ticket.
I got a better (faster result) when I used the
http://clima.ominiverdi.org/ka-map/htdocs/tile.php. I hope that is okay
with you?
By the way, do you now of any performance issues when serving tiles. Is
there any difference in performance when serving tiles from a windows
server compared to a linux server?
Venlig hilsen
Allan Gyldendal Frederiksen
From w_chris_carleton at hotmail.com Mon Apr 20 00:15:30 2009
From: w_chris_carleton at hotmail.com (chris carleton)
Date: Mon, 20 Apr 2009 00:15:30 -0500
Subject: [ka-Map-users] newbie questions minor edit...
Message-ID:
Sorry, just to clarify, I tried changing permissions to htdocs not to httpd folder.
Chris
_________________________________________________________________
Reinvent how you stay in touch with the new Windows Live Messenger.
http://go.microsoft.com/?linkid=9650731
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090420/29e36a40/attachment.htm
From donnywicaks at yahoo.com Mon Apr 27 12:39:15 2009
From: donnywicaks at yahoo.com (donny wicaks)
Date: Mon, 27 Apr 2009 10:39:15 -0700 (PDT)
Subject: [ka-Map-users] hilite a queried point
Message-ID: <967595.95918.qm@web55001.mail.re4.yahoo.com>
hi,all..
i need to hilite a point, or points, after it is identified or queried, so it can be seen on map which point has the information that appear in query result at left box in kamap.
i use *.gif images as icon for the points display.?
i have tried to add
QUERYMAP
?????? STYLE hilite
?????? COLOR 255 0 0
END
in my *.map file, but it hasn't work yet in identify/query point to be hilited.
it seems that it is not enough,? that i should have to configure more.
how should i configure kamap to do hiliting queried points?
thank you in advance..
i'll appreciate any helps..
regards
-donny-
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/ka-map-users/attachments/20090427/7f6bc8fc/attachment.htm