The program that is uploading the file should be adding the changeset id for every node, way and relation.

The initial generation shouldn't include them, as you probably don't know what the changeset will be until the upload starts.

Shaun

On 16 Jun 2009, at 21:39, Ian Dees wrote:

As soon as someone points me to the correct file format to write out in order to facilitate the upload of OSM data, shp-to-osm will work again.

It's not clear to me what the ideal format to upload large data sets like this is.

On Tue, Jun 16, 2009 at 3:36 PM, Sam Vekemans <acrosscanadatra...@gmail.com > wrote:
Argh!

Then it's off to school for me. and a deeper learning curve for me. :) I'll be learning more about how to work with shp2osm as there MUST be a way to create some kind of cool GUI that will automagically input shp files, and output OSM files, so to customize it how we want. So that its able to merge the benifits of osmosis, OpenJUMP, xapi. OSMCut, mkgmap, kosmos, bulkimport.pl ... etc. ... so that all sides of the table will be happy. I think the community has enough brilliant minds here to make it happen :-)
We all have pieces of the puzzle :-)

Cheers,
Sam Vekemans
Across Canada Trails


Twitter: @Acrosscanada
Facebook: http://www.facebook.com/sam.vekemans


On Tue, Jun 16, 2009 at 1:26 PM, Ian Dees <ian.d...@gmail.com> wrote:
The error has nothing to do with any of that. None of the shp-to-osm jar files will work now because the server is now checking for the changeset id, which is not in the XML I generate.

Earlier, the server did not check so there was no error.


On Tue, Jun 16, 2009 at 3:22 PM, Sam Vekemans <acrosscanadatra...@gmail.com > wrote:
Interesting,
Yup, using JOSM.
Im going to now try and use the old shp-to-osm0.3.jar as i dont think it should have that problem (wont make the accents appear), but would still upload.

I don't pretend to know the answer, just trying to turn all stones :)

Your new version takes all the lib files and puts them all together, into 1 script right? then adds a bit of code so that it will encode the txt file right?

What about keeping those lib files in a directory? Maybe there was an error where the script didn't pick up all the lib files? (kinda like my error when it was a ":" rather than a ";")

Perhaps it was an error in the script where it divides the +50,000 item shp files.?

I saw on the latest JOSM notes that api 0.6

***
2009-05-30 (1628)
Settings are now stored in UTF-8. Users with non-latin GUI may need to fix own texts or reset configuration.
***

So thats probably what your refering too.
But that's kind of odd, as i have been using your program many times in June and it works fine.


Cheers,
Sam

Twitter: @Acrosscanada
Facebook: http://www.facebook.com/sam.vekemans


On Tue, Jun 16, 2009 at 6:02 AM, Ian Dees <ian.d...@gmail.com> wrote:
You're using JOSM, right? I'm running into this problem, too. It sounds like the server is now explicitly looking for the changeset ID number where it didn't do that before. I started a thread on osm- dev and josm mailing lists and will implement whatever fixes need to happen in order to make it work.

I'll let you know what happens.


On Tue, Jun 16, 2009 at 1:51 AM, Sam Vekemans <acrosscanadatra...@gmail.com > wrote:
Hi,
Dout!
Im getting an error when i attempt to upload the .osm0 file.

"ResponceCode=400, Error Header=<Cannot parse valid code from xml string <node vi ...

Im going to try and use that last version of shp-to-osm.jar file you sent, as i didn't quite follow what what was fixing. So you might have fixed it already.
shp-to-osm-0.4.1-SNAPSHOT-jar-with-dependencies

my computer is giving me a low disk space error, so it might also be from my end here.

I'll keep ya posted.
Cheers,
Sam

Twitter: @Acrosscanada
Facebook: http://www.facebook.com/sam.vekemans


On Mon, Jun 15, 2009 at 3:42 PM, Ian Dees <ian.d...@gmail.com> wrote:
Currently, the limit of changes-per-file limit is hard coded, but can (and probably should) be settable with a code change.

I've successfully uploaded several OSM files via JOSM that were greater than 5MB in size. It took a long time to process (20-30 minutes), but it worked.

I use Maven to build the jar. I can give instructions on how to use it if you'd really like to build the jar yourself.

Also, the wiki could be updated, but I don't really have time to updated it.

-Ian


On Mon, Jun 15, 2009 at 5:15 PM, Sam Vekemans <acrosscanadatra...@gmail.com > wrote:
Hi Ian,
cc: Jon

Great work on the update :)
I fixed the canvec2osm script so now its much better. and all the
french accents seems to work, the people at the federal level will be
happy, and everyone Quebec too. .. and anyone who is native to the
french language :)







_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

_______________________________________________
dev mailing list
dev@openstreetmap.org
http://lists.openstreetmap.org/listinfo/dev

Reply via email to