You are not logged in.

Announcement

*** NOTICE: forum.openstreetmap.org is being retired. Please request a category for your community in the new ones as soon as possible using this process, which will allow you to propose your community moderators.
Please create new topics on the new site at community.openstreetmap.org. We expect the migration of data will take a few weeks, you can follow its progress here.***

#1 2009-12-08 16:58:10

greencaps
Member
Registered: 2009-10-05
Posts: 423

GET /node/#id different on dev server?

To retrieve the xml data for a node (i.e. with id 519924432) from the osm server following url can be used:
http://api.openstreetmap.org/api/0.6/node/519924432

This works but now I wanted to get it from the dev server:
http://api06.dev.openstreetmap.org/api/ … /519924432

But I get nothing.

What am I doing wrong? I already removed the /0.6/ and then /api/ but to no avail.

The strange thing is that (put) /changeset/create works in my client for both servers.

That the data for the node cannot be retrieved is in order with that nodes do not show up if you start an edit session with potlatch. But why is this so?

Offline

#2 2009-12-10 17:15:53

Richard
Member
From: Charlbury, UK
Registered: 2007-04-24
Posts: 427
Website

Re: GET /node/#id different on dev server?

Are you sure that node exists in the database on the dev server? The dev server doesn't have the full data - it might not even have any.

Offline

#3 2009-12-17 12:39:39

greencaps
Member
Registered: 2009-10-05
Posts: 423

Re: GET /node/#id different on dev server?

Indeed. It has nothing. In order to test my client I first have to supply the dev server with the data I want to test upon. Thanks.

Offline

Board footer

Powered by FluxBB