[OpenLayers-Users] World user map
Paul Meems (Top-X)
p.meems at topx-group.nl
Fri May 18 00:47:18 PDT 2012
Thanks Arnd,
That fixed my issue.
I've added these lines to my css:
.section #olmap img {
padding-top: 0;
}
Thanks,
Paul
2012/5/17 Arnd Wippermann <arnd.wippermann at web.de>
> **
>
> it seem to be an issue with conference.css
>
> try
>
> .section img {
> /* padding-top: 5; */
> padding-top: 0;
> }
>
> Arnd
> ------------------------------
> *Von:* openlayers-users-bounces at lists.osgeo.org [mailto:
> openlayers-users-bounces at lists.osgeo.org] *Im Auftrag von *Paul Meems
> (Top-X)
> *Gesendet:* Mittwoch, 16. Mai 2012 18:53
> *An:* openlayers-users
> *Betreff:* Re: [OpenLayers-Users] World user map
>
> Thanks to the suggestion made by Barend Köbben I found this post
> http://thematicmapping.org/playground/openlayers_propsymbols_geojson.phpwhich was showing what I need.
>
> I've altered the example and it is now running at
> http://www.mapwindow.org/conference/2012/usermap.html
>
> But when I put the code (not that much) in the webpage with the
> participants I get horizontal transparent 'lines' in my OSM base map.
> Because my div has a gray background the lines are gray as well.
> This is probably some CSS issue, but I haven't figured it out.
> http://www.mapwindow.org/conference/2012/participants.php
>
> Thanks all for your help and if you have a suggestion of the fix the lines
> let me know.
>
> Paul
> --
> Project manager Open Source GIS Conference 2012
>
>
>
> 2012/5/15 Barend Köbben <kobben at itc.nl>
>
>> Hi Paul,
>>
>> For such a relatively simple map I would probably not even use a WxS, just
>> a geojson file of a simple world map and javascript to read the attributes
>> of how many visitors per country. You could probably use OpenLayers for
>> that (which I did not try myself), but other solutions too, see e.g the
>> example of a simple thematic maps made with the D3 library at
>> http://kartoweb.itc.nl/kobben/test/buurten.html
>>
>> BTW, you should of course not use a map where you color countries if a
>> person comes from there (a so-called choropleth or chorochromatic map).
>> That would greatly misdirect the user into thinking many people come from
>> e.g. Russia, because he sees a huge red polygon, while none seem to come
>> from Luxemburg (which he won't see at al at that scale). In reality maybe
>> 20 are from Luxemburg and only 1 from Russia. Better use proportional
>> point symbols per country, see ge, the map "AANT_INW" in the example
>> mentioned above...
>>
>> Barend
>>
>> --
>> Barend Köbben
>> Senior Lecturer, ITC - University of Twente,
>> Faculty of Geo-Information Science and Earth Observation
>> PO Box 217, 7500AE Enschede (The Netherlands)
>> +31-(0)53 4874 253 <%2B31-%280%2953%204874%20253>
>>
>>
>>
>>
>> On 14-05-12 22:34, "Paul Meems" <bontepaarden at gmail.com> wrote:
>>
>> >
>> >
>> >
>> >Hi,
>> >
>> >I'm working on a kind of user map.
>> >It should be a map with all the countries of the world and the countries
>> >are colored if someone from that country is coming to the Open Source GIS
>> >conference.
>> >I also need a label with the name of the country and the number of
>> people.
>> >
>> >I have some experience with OL together with GeoServer and PostGIS, but
>> >for this web page I can't use that.
>> >
>> >I think I need a WFS server that has the countries of the world and then
>> >use a GML file with my data to create the labels and color the countries,
>> >am I right?
>> >
>> >I'm already stuck at the first step. Is a public WFS server available
>> >that I can use to do this?
>> >
>> >I've already made a static image of what I want, but I would rather use
>> >OL.
>> >Can anybody advise me on this?
>> >
>> >Here are my static images:
>> >http://www.mapwindow.org/conference/2012/participants.php
>> ><http://www.mapwindow.org/conference/2012/participants.php>
>> >
>> >Thanks,
>> >
>> >Paul
>> >--
>> >Project manager Open Source GIS Conference 2012
>>
>>
>> Faculty of Geo-Information Science and Earth Observation (ITC)
>> University of Twente
>> Chamber of Commerce: 501305360000
>>
>> E-mail disclaimer
>> The information in this e-mail, including any attachments, is intended
>> for the addressee only. If you are not the intended recipient, you are
>> hereby notified that any disclosure, copying, distribution or action in
>> relation to the content of this information is strictly prohibited. If you
>> have received this e-mail by mistake, please delete the message and any
>> attachment and inform the sender by return e-mail. ITC accepts no liability
>> for any error or omission in the message content or for damage of any kind
>> that may arise as a result of e-mail transmission.
>> _______________________________________________
>> Users mailing list
>> Users at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>>
>
>
> _______________________________________________
> Users mailing list
> Users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/openlayers-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/openlayers-users/attachments/20120518/83091d97/attachment.html
More information about the Users
mailing list