posm / OpenMapKitAndroid

http://openmapkit.org
BSD 3-Clause "New" or "Revised" License
128 stars 38 forks source link

osm file of new POIs not opening #96

Closed danbjoseph closed 8 years ago

danbjoseph commented 8 years ago

created a simple survey with only an OMK question and only one tag

screen shot 2015-11-15 at 4 54 01 pm

uploaded some completed forms

screen shot 2015-11-15 at 4 55 29 pm

and then tried to open the downloaded .osm file in JOSM but got the following error

screen shot 2015-11-15 at 4 52 48 pm
hallahan commented 8 years ago

This is another Ona specific issue.

https://github.com/onaio/onadata

Could you please provide the OSM XML file shown here?

danbjoseph commented 8 years ago

ah... the file is empty/ Zero bytes. a very premature end indeed.

mberg commented 8 years ago

@danbjoseph what server did you get this error? Can you file this as a ticket on the onadata repo? This should be working but want to double check what's going on.

danbjoseph commented 8 years ago

it's from the Red Cross instance

mberg commented 8 years ago

@danbjoseph - I spoke to @dalekunce and we're going to work on a strategy of keeping the red cross instance more up to date. I also don't know if that error is a result of code or something like celery stopping (common issue if exports stop working).

In the very short term, we might want to come up with a strategy for testing this on our main ona or staging server.

The reason I say this is we have actively been working on changing/improving the way OSM exports work. The initial version had the OSM files being stored as attachments and recently moved to storing the OSM data in an OSM db table (in addition).

Besides much faster performance on views and exports, this will also allow us to include OSM tags in exports. Ie) if you have an osm question for school in the form we can export

school_osm_id, school_name, etc.

Some of this hasn't made it to master though. I'll let the group know when it is and stable. I just wanted to flag we are actively work on this so many of the bugs you are seeing might be resolved.

dalekunce commented 8 years ago

@mberg when these changes are pushed to master we can bring them into the Red Cross system. Can you provide an update/install walkthrough.

mberg commented 8 years ago

@dalekunce - yes will do. Once this is ready - we'll touch base to try and come up with a good strategy for keeping the Red Cross version up to date.

On Tue, Nov 17, 2015 at 7:13 PM, Dale Kunce notifications@github.com wrote:

@mberg https://github.com/mberg when these changes are pushed to master we can bring them into the Red Cross system. Can you provide an update/install walkthrough.

— Reply to this email directly or view it on GitHub https://github.com/AmericanRedCross/OpenMapKit/issues/96#issuecomment-157417136 .

hallahan commented 8 years ago

Closing, Ona specific issue.