[josm-dev] josm produces too long tags
jamesmikedupont at googlemail.com
jamesmikedupont at googlemail.com
Wed Mar 31 19:49:45 BST 2010
Josm does not check taglengths that are too long,
we need to add that check to the validatorplugin.
mike
PUT http://api.openstreetmap.org/api/0.6/changeset/4288211... OK
POST http://api.openstreetmap.org/api/0.6/changeset/4288211/upload...
Bad Request
Error header: NodeTag 667618701: v: is too long (maximum is 255
characters) ("http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_00400.osm;http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_17900.osm;http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_20000.osm")
org.openstreetmap.josm.io.OsmApiException: ResponseCode=400, Error
Header=<NodeTag 667618701: v: is too long (maximum is 255 characters)
("http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_00400.osm;http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_17900.osm;http://xhema.flossk.org:8080/mapdata/03/MapAction/tpginc/out_LL_Rivers/ways_20000.osm")>
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:593)
at org.openstreetmap.josm.io.OsmApi.sendRequest(OsmApi.java:476)
at org.openstreetmap.josm.io.OsmApi.uploadDiff(OsmApi.java:426)
at org.openstreetmap.josm.io.OsmServerWriter.uploadChangesInChunks(OsmServerWriter.java:163)
at org.openstreetmap.josm.io.OsmServerWriter.uploadOsm(OsmServerWriter.java:205)
at org.openstreetmap.josm.gui.io.UploadPrimitivesTask.realRun(UploadPrimitivesTask.java:237)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.doRealRun(PleaseWaitRunnable.java:83)
at org.openstreetmap.josm.gui.PleaseWaitRunnable.run(PleaseWaitRunnable.java:129)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:636)
More information about the josm-dev
mailing list