Re: [OSM-dev] WMS API - where to start

2010-04-18 Thread Chris Browet
Not sure what you mean by "designing a WMS API" but a search on "WMS
specification" seems a good start.

- Chris -

On Thu, Apr 15, 2010 at 12:35, bernhard  wrote:

> hi all
>
> I'm working again on my map maplib.
> http://github.com/robotnic/khtmlib
> Internet Explorer should work now (exept vector graphics).
>
> The next thing I want to implement is WMS support.
>
> Implemetation should be easy. But I don't know how to design the API?
>
> Can somebody point me to a starting point?
>
> Bernhard
>
>
> ___
> dev mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/dev
>
___
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] WMS Overlay Disappears

2009-03-30 Thread Andrew Ayre
Thomas,

Thanks! That sent me down the right path.

Andy

Thomas Wood wrote:
> This is more suited to the OpenLayers list, but at a guess it's
> because of an incorrect maxResolution setting on the WMS layer, they
> default to the Map, or if that's not set, auto-generated not always
> successfully.
> 
> Setting up the Map object as shown here should be the first step to
> getting the overlay to display.
> http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example#Instructions
> 
> 2009/3/30 Andrew Ayre :
>> Hi! I am generating a map using OpenLayers with an OSM base map and a
>> WMS overlay. At the backend I am running GeoServer 1.7.3 with PostGIS.
>>
>> I can view my WMS data fine in the client in GeoServer and in uDig.
>> However when I overlay it on my OpenLayers map it disappears at nearly
>> all the zoom levels. Here is a demo:
>>
>>   http://www.britishideas.com/osm
>>
>> When you load this you can see a black dot over southern Arizona. This
>> is my overlay. When you zoom in it disappears.
>>
>> Any ideas what I am doing wrong?
>>
>> thanks, Andy

-- 
Andy
PGP Key ID: 0xDC1B5864

___
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] WMS Overlay Disappears

2009-03-30 Thread Thomas Wood
This is more suited to the OpenLayers list, but at a guess it's
because of an incorrect maxResolution setting on the WMS layer, they
default to the Map, or if that's not set, auto-generated not always
successfully.

Setting up the Map object as shown here should be the first step to
getting the overlay to display.
http://wiki.openstreetmap.org/wiki/OpenLayers_Simple_Example#Instructions

2009/3/30 Andrew Ayre :
> Hi! I am generating a map using OpenLayers with an OSM base map and a
> WMS overlay. At the backend I am running GeoServer 1.7.3 with PostGIS.
>
> I can view my WMS data fine in the client in GeoServer and in uDig.
> However when I overlay it on my OpenLayers map it disappears at nearly
> all the zoom levels. Here is a demo:
>
>   http://www.britishideas.com/osm
>
> When you load this you can see a black dot over southern Arizona. This
> is my overlay. When you zoom in it disappears.
>
> Any ideas what I am doing wrong?
>
> thanks, Andy
>
> --
> Andy
> PGP Key ID: 0xDC1B5864
>
> ___
> dev mailing list
> [email protected]
> http://lists.openstreetmap.org/listinfo/dev
>



-- 
Regards,
Thomas Wood
(Edgemaster)

___
dev mailing list
[email protected]
http://lists.openstreetmap.org/listinfo/dev


Re: [OSM-dev] WMS

2008-06-26 Thread Christopher Schmidt
On Thu, Jun 26, 2008 at 03:07:42AM +0200, Iván Sánchez Ortega wrote:
> El Miércoles, 25 de Junio de 2008, 80n escribió:
> > > So, I'd like to know if you think it would be a good idea to do load
> > > balancing between several OSMXAPI servers.
> >
> > This is probably a good idea.  Do you have any servers in mind?
> 
> Well, for what I've read in the Wiki about OSMXAPI, I only know about 
> Informationfreeway. Is there a complete list of OSMXAPI servers?

Running osmxapi takes about 400GB of disk, and the faster the better.
Thus far, no one else has offered a server for hosting osmxapi other
than me/HyperCube, despite Etienne saying several times that it would be
easy to set up a new copy if people were interested, afaik.

Regards,
-- 
Christopher Schmidt
MetaCarta

___
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] WMS

2008-06-26 Thread spaetz
On Thu, Jun 26, 2008 at 03:07:42AM +0200, Iv?n S?nchez Ortega wrote:

> Well, for what I've read in the Wiki about OSMXAPI, I only know about 
> Informationfreeway. Is there a complete list of OSMXAPI servers?


print length(OSMXAPI_SERVERS)
> 1


___
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] WMS

2008-06-25 Thread Stefan Baebler
Iván Sánchez Ortega wrote:
> El Miércoles, 25 de Junio de 2008, 80n escribió:
>>> So, I'd like to know if you think it would be a good idea to do load
>>> balancing between several OSMXAPI servers.
>> This is probably a good idea.  Do you have any servers in mind?
> 
> Well, for what I've read in the Wiki about OSMXAPI, I only know about 
> Informationfreeway. Is there a complete list of OSMXAPI servers?

AFAIK you just wrote the complete list :)

Stefan

___
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] WMS

2008-06-25 Thread Iván Sánchez Ortega
El Miércoles, 25 de Junio de 2008, 80n escribió:
> > So, I'd like to know if you think it would be a good idea to do load
> > balancing between several OSMXAPI servers.
>
> This is probably a good idea.  Do you have any servers in mind?

Well, for what I've read in the Wiki about OSMXAPI, I only know about 
Informationfreeway. Is there a complete list of OSMXAPI servers?

-- 
--
Iván Sánchez Ortega <[EMAIL PROTECTED]>

MSN:[EMAIL PROTECTED]
Jabber:[EMAIL PROTECTED] ; [EMAIL PROTECTED]


signature.asc
Description: This is a digitally signed message part.
___
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] WMS

2008-06-25 Thread 80n
2008/6/25 Iván Sánchez Ortega <[EMAIL PROTECTED]>:

> Hi all,
>
>
> First of all, I want to say that WMS sucks. The 100-page spec sucks, the
> efficiency sucks.
>
>
> That said, I just committed to SVN a set of hacks I've come to call "OSM
> WMS".
>
> Why? Long story short, this will allow me to promote OSM to GIS people. Or,
> as
> FakeSteveC would say, Arctards.
>
> However, the current implementation has the potential of pounding the API
> down
> to its knees (no caching of any kind). In fact, I think it has more bugs
> than
> features.
>
> So, I'd like to know if you think it would be a good idea to do load
> balancing
> between several OSMXAPI servers.
>

This is probably a good idea.  Do you have any servers in mind?


>
> (Yes, I know the best solution is to set up a local mirror of the database
> given a planet dump, and get the data from there. I just wanted to make
> something very simple to set up.)
>
> Also, would it be a good idea to call OSMXAPI with the whole earth as a
> BBOX
> and try to render the whole coastline? Any ideas on how an OSM WMS would
> behave on such large requests?
>
>
> Cheers,
> --
> --
> Iván Sánchez Ortega <[EMAIL PROTECTED]>
>
> Don't tell any big lies today.  Small ones can be just as effective.
>
> ___
> dev mailing list
> [email protected]
> http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev
>
>
___
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev


Re: [OSM-dev] WMS

2008-06-24 Thread Stefan de Konink
Iván Sánchez Ortega schreef:
> However, the current implementation has the potential of pounding the API 
> down 
> to its knees (no caching of any kind). In fact, I think it has more bugs than 
> features.
> 
> So, I'd like to know if you think it would be a good idea to do load 
> balancing 
> between several OSMXAPI servers.
> 
> (Yes, I know the best solution is to set up a local mirror of the database 
> given a planet dump, and get the data from there. I just wanted to make 
> something very simple to set up.)
> 
> Also, would it be a good idea to call OSMXAPI with the whole earth as a BBOX 
> and try to render the whole coastline? Any ideas on how an OSM WMS would 
> behave on such large requests?

If you would like to test it on an external datasource, and have only 
SQL request, I'm happy to port the WMS stuff in a new handler for my 
webserver osm plugin.


Stefan

___
dev mailing list
[email protected]
http://lists.openstreetmap.org/cgi-bin/mailman/listinfo/dev