Then it happened again. 

Dear all,


My 12:34 e-mail did not reach you with all the content in it. I submitted it
like this:
<quote>
So what would be the things that we need to do?
I can think of the following things:

- Layer selection, by adding layer type objects? (How much would we
duplicating of the work described here: http://lautaportti.wordpress.com/)?
Or Steve's solution with the init function? I seem to have had this picture
placed in my subconscious: <<link removed>>.
- Setting the map's initial extent.
- Choosing the controls to show.
- Choosing which text annotation to show from the layer.
- Raising events for Plone whenever a change is made in the map. 

Kind regards,


Jan
</quote>

I most regret that the greeting fell off.

Kind regards,


Jan
 

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Steve
Coleman-Williams
Sent: Thursday, April 24, 2008 14:26
To: 'gispython.org community projects'
Subject: Re: [Community] OpenLayers in Plone 3

Are we thinking of the strict Plone3 way of doing things with GS or what??

How ever we decide I will try and get a simple "lets bash the libraries into
zodb" done tonight in a true Plone3 GS way.

Steve Coleman-Williams
E-mail:                         [EMAIL PROTECTED]
Phone (work):           (01970) 613438
Phone (Mobile): 07774522282

Please do not print this e-mail unless absolutely necessary - SAVE ENERGY
and PAPER
---
non facias malum ut inde fiat bonum


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Eric Bréhault
Sent: 24 April 2008 12:05
To: gispython.org community projects
Subject: Re: [Community] OpenLayers in Plone 3

of course it is simple :)
but it would be still useful to do it only once

here what I have I mind:
- a skin containing OpenLayers
- a profile which would declare the css, js and so on, plus a propertytool
in the portal (to manage stuff like GoogleMapKey, for
instance)
- a BrowserView class, with few annotations (to manage wms adresses, SLD
styles, etc...)
- some PT macros that you would be able to insert OL in your
product-specific templates that way:
tal:define="view here/@@openlayer_browserview"

<script tal:define="my_google_key view/getGoogleKey"
                            type="text/javascript" src=""
tal:attributes="src
string:http://maps.google.com/maps?file=api&amp;v=2&amp;key=${my_google_key}
">

<script tal:define="parameters view/getParameters"
                        tal:content="string:window.onload=function()
                                               {load('${parameters}');}" >
<div id="map" tal:define="myHeight view/getHeight"
                      tal:attributes="style string:height:${myHeight}px">
</div>

so, for sure, it is not difficult, but it would just make the integration
cleaner, that's all

Eric

On Thu, Apr 24, 2008 at 11:35 AM, Steve Coleman-Williams <[EMAIL PROTECTED]>
wrote:
> To get Plone to use the OL libraries is at best trivial at worst simple.
>
>  I already have a product that simply installs the OpenLayers 
> directory  structure and JS files into Plone skins and allows people 
> to include them
as
>  resources
>
>
>  Steve Coleman-Williams
>  E-mail:                         [EMAIL PROTECTED]
>  Phone (work):           (01970) 613438
>  Phone (Mobile): 07774522282
>
>  Please do not print this e-mail unless absolutely necessary - SAVE 
> ENERGY  and PAPER
>  ---
>  non facias malum ut inde fiat bonum
>
>
>
> -----Original Message-----
>  From: [EMAIL PROTECTED]
>  [mailto:[EMAIL PROTECTED] On Behalf Of Eric 
> Bréhault
>
>
> Sent: 24 April 2008 10:33
>  To: [EMAIL PROTECTED]; gispython.org community projects
>  Subject: Re: [Community] OpenLayers in Plone 3
>
>  editing/adding/removing features should be part of the presentation 
> layer
>
>  but, here, I do not propose to build a complete GIS presentation 
> layer
>
>  I just propose to provide a technical toolkit to be able to insert 
> OpenLayers in Plone templates, which would be used by any presentation 
> layer involving OL  (because the needs might be very differents: some 
> want a content-type  to display a map, others want to manage geo-aware 
> Plone objects, and  others want to build an AT geo widget)
>
>  so I do not think it would be productive to try to build a generic 
> OL-based GIS presentation layer for Plone
>
>  In my case for instance, I use OL to create or edit geometry, and I 
> call zgeo.wfs to save and index the resulting geometry directly in 
> Zope, but we could imagine another solution where the geometry is also 
> created and modified using OL but stored in an AT field and sent to 
> PostGIS (for instance) as a WKT string
>
>  but, whatever is your architecture, in any case, you will still need 
> to make Plone able to load and use the OL Javascript library, so 
> that's the objective of my initial proposal
>
>  see?
>
>  Eric BREHAULT
>
>
>  On Thu, Apr 24, 2008 at 10:22 AM, Jan van der Ven 
> <[EMAIL PROTECTED]>
>  wrote:
>  > Eric,
>  >
>  >
>  >  Part of the presentation layer is editing and adding and removing 
> content,  >  right?
>  >
>  >
>  >  Kind regards,
>  >
>  >
>  >  Jan
>  >
>  >
>  >
>  >  -----Original Message-----
>  >  From: [EMAIL PROTECTED]
>  >
>  > [mailto:[EMAIL PROTECTED] On Behalf Of Eric
Bréhault
>  >  Sent: Thursday, April 24, 2008 09:42  >  To: 
> [EMAIL PROTECTED]; gispython.org community projects  >  Subject: 
> Re: [Community] OpenLayers in Plone 3  >  >  >  > PrimaGIS provides 
> the ability to manage MapServer from Plone, and also
to
>  >  display a map in Plone (using OpenLayers by the way in the Plone
version
>  I
>  >  think).
>  >
>  >  Here what we propose is just to provide OpenLayers in Plone, so 
> just
the
>  GIS
>  >  client technical intergration aspects (basically a skin containing 
> OL
+
>  some
>  >  nice macro to insert and configure OL from PT templates). Nothing
about
>  the
>  >  GIS server-side. Nothing about the spatial information data model 
> or  >  storage.
>  >
>  >  The idea is to provide an unified OL integration technical toolkit
that
>  >  could be used for instance by PrimaGIS, EryrOL, PleiadesOL, or any
other
>  >  Plone product that may need OL.
>  >
>  >  Eric BREHAULT
>  >
>  >  On Thu, Apr 24, 2008 at 3:55 AM, Alex Mandel
<[EMAIL PROTECTED]>
>  >  wrote:
>  >  >
>  >  > Moisan Yves wrote:
>  >  >  > -Translation to Dutch.
>  >  >  >
>  >  >  > And French too, but with Éric on board that's no problem.
>  >  >  >
>  >  >  > As an aside, I noticed the folks at OpenPlans are apparently
going
>  to
>  >  provide some map viewing/editing capabilities (GeoServer I assume) 
> in  their  >  OpenCore software.  OpenCore is Plone (and a couple of 
> other FOSS
parts),
>  >  though I'm not sure which version.  It may be a good idea to 
> bounce an  email  >  to Chris Holmes about an OL integration to Plone 
> 3.
>  >  >  >
>  >  >  > Yves
>  >  >  > _______________________________________________
>  >  >  > Community mailing list
>  >  >  > [email protected]  >  >  > 
> http://lists.gispython.org/mailman/listinfo/community
>  >  >
>  >  >  OpenPlans is plone 2.5. I haven't peeked at what their planning 
> now  >  > but  last I looked they had tinkered with Prima 0.5 and 
> decided to  >  > wait on an  easier solution.
>  >  >
>  >  >  I'm in to help although I'm not terribly familiar with the 
> inner  >  > workings of Plone 3 yet. (Book to be ordered soon)  >  >
> >  >  One question for clarification, how does this idea differ from
> the  >  > PrimaGIS mindset?
>  >  >
>  >  >  Alex
>  >  >
>  >  >
>  >  > _______________________________________________
>  >  >  Community mailing list
>  >  >  [email protected]
>  >  >  http://lists.gispython.org/mailman/listinfo/community
>  >  >
>  >  _______________________________________________
>  >  Community mailing list
>  >  [email protected]
>  >  http://lists.gispython.org/mailman/listinfo/community
>  >
>  >
>  > No virus found in this incoming message.
>  >  Checked by AVG.
>  >  Version: 7.5.524 / Virus Database: 269.23.3/1392 - Release Date:
>  22-Apr-2008
>  >  15:51
>  >
>  >
>  >  No virus found in this outgoing message.
>  >  Checked by AVG.
>  >  Version: 7.5.524 / Virus Database: 269.23.4/1394 - Release Date:
>  23-Apr-2008
>  >  19:16
>  >
>  >
>  >
>  >
>  >  _______________________________________________
>  >  Community mailing list
>  >  [email protected]
>  >  http://lists.gispython.org/mailman/listinfo/community
>  >
>  _______________________________________________
>  Community mailing list
>  [email protected]
>  http://lists.gispython.org/mailman/listinfo/community
>
>  _______________________________________________
>  Community mailing list
>  [email protected]
>  http://lists.gispython.org/mailman/listinfo/community
>
_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

No virus found in this incoming message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.4/1394 - Release Date: 23-Apr-2008
19:16
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.4/1394 - Release Date: 23-Apr-2008
19:16
 

No virus found in this outgoing message.
Checked by AVG. 
Version: 7.5.524 / Virus Database: 269.23.4/1394 - Release Date: 23-Apr-2008
19:16
 

_______________________________________________
Community mailing list
[email protected]
http://lists.gispython.org/mailman/listinfo/community

Reply via email to