Hi,

   I've also need to upload images to the app engine. I'll love to
have the code of your webservice and the tile uploader program when
you have the time to send it of course :)

On 10 sep, 14:46, mscwd01 <mscw...@gmail.com> wrote:
> I have just finished uploading approximately 20GBs of Nasa SRTM
> elevationtilesto theappengine, it wasn't straightforward - here's
> how I did it:
>
> 1. I created a REST webservice (google for "Restlet"), this received
> POST requests. A POST request consisted of the tile filename and the
> tile contents (a byte array converted to a base 64 string)
> 2. Once the servlet recieved the POST request it got the filename
> parameter from the POST request and created a new "Tile" datastore
> object with the primary key being set as the filename.
> 3. It then retrieved the tile contents parameter (the base 64 string)
> from the POST request and decoded it back into a byte array. This was
> saved as a blob field to the Tile datastore object.
> 4. The Tile object was then saved to the datastore.
>
> I also compressed the byte array prior to uploading so that saved a
> little time. It still took 2 solid days of uploading though and costs
> about 12 cents a day (bargain).
>
> If you think what I have described is too confusing for you to
> implement it may be possible for me to send you the webservice and the
> tile uploader program (I am extremely busy at present though so I make
> take a while!)
>
> Hope that helps.
>
> On Sep 8, 5:20 am, MaryOne <maryoneperc...@gmail.com> wrote:
>
> > Hi, over the years I have created about 950,000 custommaptiles,
> > mostly 256 x 256 jpg's or png's, which I would like to move from my
> > current MS 2008 IIS server toAppEngine. It was a challenge to use
> > FTP in the past, used to make a ZIP thenupload, then unZIP.
>
> > The size is about 7 GB. I have root access to my server.
>
> > I came across this article:
>
> >http://www.armangal.com/10-Easy-Steps-to-use-Google-App-Engine-as-you...
>
> > Is this the best solution?
>
> > Any other ideas?
>
> > You can see the nice maps thesetilesserve athttp://cret.ca
>
> > With all the improvements to Google Maps/Earth. Most of this work is
> > out of date and redundant, but would still like to keep it around.

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To post to this group, send email to google-appengine@googlegroups.com
To unsubscribe from this group, send email to 
google-appengine+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/google-appengine?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to