[OSM-dev] Potlatch Reprojection removed
Christopher Schmidt
crschmidt at metacarta.com
Tue May 13 06:13:03 BST 2008
Richard (and others),
http://potlatchreproject.dev.openstreetmap.org/ now has an AMF
controller which doesn't do reprojection on the server.
Some examples:
>>> call_potlatch("whichways", 6.9,7.9,7.1,8.1)
[[], [[259305146, 7, 8, {u'a': u'b'}]], []]
>>> call_potlatch("putpoi", "crschmidt at crschmidt.net+password", -1, 7,
>>> 8, {'a':'b'},1)
[0, -1, 259305146]
>>> call_potlatch("getpoi", 259305146)
[259305146, 7, 8, {u'a': u'b'}]
>>> call_potlatch("getway", 23921312)
[23921312, [[51.447385799999999, 0.0018024, 259305143, None, {}],
[51.473649999999999, 0.012102099999999999, 259305144, None, {}],
[51.478799799999997, -0.0072956000000000002, 259305145, None, {}]],
{u'created_by': u'Potlatch 0.9a'}, 51.447385799999999,
51.478799799999997, -0.0072956000000000002, 0.012102099999999999]
I've put a crossdomain.xml in the site root, so I think you should be
able to talk to the server; the SVN branch is
http://svn.openstreetmap.org/sites/rails_port_branches/amf_noproject/ ,
and if you commit in there, and kick me, I'll update it to svn.
Let me know if there's anything else I can do to help, or bugs you find
in amf_controller.
Regards,
--
Christopher Schmidt
MetaCarta
More information about the dev
mailing list