WMS Try Failed

6 views
Skip to first unread message

Zero

unread,
Nov 4, 2010, 3:49:23 AM11/4/10
to Tile5
Hi everyone,
First of all thanks for this innovative project. I have a question.
I'am trying to use, tile5 for a wms server. i modified tile5.osm.js, i
could view the map and it's performance is ok, but the coordinates are
not true. I dig in to the code and found that all the calculations int
the code is based on that our map source is EPGS:4326 kind. So my
relative calculations based on the wms's extent becomes wrong.
Do your have a solution for this, or are all my assumptions are
wrong.

thanks

Damon Oehlman

unread,
Nov 4, 2010, 4:59:37 AM11/4/10
to ti...@googlegroups.com
Hey Mate,

Great to hear you are trying Tile5 with a WMS server - it's been on my todo list for some time.    At this stage, I haven't done a lot of work on supporting multiple projections if that is what is required.  I am actually making some modifications to improve the way that I handle projection calculations so it's possible that with some guidance from more experienced GIS folks that Tile5 could be modified to support multiple projections at the same time.

My understanding of things is that I have configured Tile5 for mercator projection support, and when I google that I find EPSG:3395 referenced:


That, however, resolves to WGS84 which is also referenced by the projection you are trying to use (EPSG:4326 - http://spatialreference.org/ref/epsg/4326/) and differs only slightly in the WGS84 bounds, so I suspect that a modified projection is probably possible.

Please excuse my limited GIS knowledge, Tile5 was built primarily from a coders / usability perspective and the GIS math has been somewhat of a learning curve.

Cheers,
Damon.

--
Damon Oehlman
http://distractable.net/

Zero

unread,
Nov 4, 2010, 5:21:09 AM11/4/10
to Tile5

nop, EPSG:3395 and EPSG:4326 are nearly same. so my application doesnt
semm so possible for now :(
but if you seperate

TileToLat
TileToLon
LonToTile
LatToTile
LatToPix
LonToPix
PixToLat
PixToLon

codes (which are the reletated to projection and coordinate
transformation ) and if map can load those parameters from the map
provider class (or a projection definition or a class that is a
parameter of map or map provider contains those functions - just like
esri sdk's or DeepEarth-silverlight- ) , it will be possible i think.
i can make those modifications, but today i must finish my wms mobile
app :(
if i can finish, folowing days i can contribute.

thank you


On 4 Kasım, 10:59, Damon Oehlman <damon.oehl...@gmail.com> wrote:
> Hey Mate,
>
> Great to hear you are trying Tile5 with a WMS server - it's been on my todo
> list for some time.    At this stage, I haven't done a lot of work on
> supporting multiple projections if that is what is required.  I am actually
> making some modifications to improve the way that I handle projection
> calculations so it's possible that with some guidance from more experienced
> GIS folks that Tile5 could be modified to support multiple projections at
> the same time.
>
> My understanding of things is that I have configured Tile5 for mercator
> projection support, and when I google that I find EPSG:3395 referenced:
>
> http://spatialreference.org/ref/epsg/3395/
>
> That, however, resolves to WGS84 which is also referenced by the projection
> you are trying to use (EPSG:4326 -http://spatialreference.org/ref/epsg/4326/) and differs only slightly in the
> WGS84 bounds, so I suspect that a modified projection is probably possible.
>
> Please excuse my limited GIS knowledge, Tile5 was built primarily from a
> coders / usability perspective and the GIS math has been somewhat of a
> learning curve.
>
> Cheers,
> Damon.
>

Damon Oehlman

unread,
Nov 4, 2010, 5:28:17 AM11/4/10
to ti...@googlegroups.com
Thanks for the heads up.

Good luck with your project...  
Reply all
Reply to author
Forward
0 new messages