Convert Image To Map Tiles In-App - ios

I want to be able to convert a given image uploaded in the app and convert it to map tiles to be overplayed in a MapView. This could be a photo downloaded from the web or simply a photo taken from the device's camera.
I have so far come across GDAL2Tiles and MapTiler but I want to be able to do this in the app instead of preparing them beforehand. These are command line and desktop applications that will do the conversion, but this is all that I can find so far.
Is there a built-in feature for iOS that allows me to do this? If not, is there a third-party library that does, or is it just not possible?

Related

Software to open titled geo PNG file?

I'm trying to extract some a data (a map image) from a PNG file which is tiled somehow. The file itself is only 256x256 pixels (according to 'get info' on the mac) but is is 23MB. It is from an iPad app called Mud Map and it contains a map that I purchased but I've lost the original that I converted to this format. When I view this file (renamed to a .PNG) I see one section of the map - 256x256px.
I'm asking this question on StackOverflow because I want to know more about these tiled images. How does one create a tiled PNG and what is the software that will open and or create these things. I'm interested in what metadata is required too. I'm loving the outdoors and mapping!!
The answer to this question, is that it cannot be done in manner I have described.
The images in the PNG are not tiled, the the files are just merged together which is no doubt an individual feature of the program as is it does not appear to be any kind of standard.
I have no access to application you mentioned in IPad. Just share some thought about possible situation here.
1) Map tiles are commonly used in GIS web application such as Google maps and so on. It is used to improve the performance especially when user pan very often. A map displayed typical map window is divided into for instance 4*4 separate calls. So maybe only 4 call will be made when user just pan a little bit instead of get the whole map for the 16 tiles.
The source image for this tiles can be in pre-generated tiles or just one static map.
2) Assemble separate images to one in GIS is called image mosaic function. GIS server can read a collection of images and mosaiced them into one with the overlapping part handle based on a certain rule. And the images are in pre defined grid format which are seamless and no overlapping, then it is called tiled images. We could pre-generated the tiles from one mosaiced image, or we can server it on the fly. Some GIS server/library/application does have the tile server function built in.

How to capture a photo automatically in iPhone and iPad

How to capture photo automatically in android phone? is about how to take a picture automatically without people's interaction. This feature is needed in many applications. For example, when you are going to take a picture of a document, you expect that the camera can take it automatically when the full document is insider the picture (or four corners of the document). So my question is how about doing it in iPhone or iPad?
Recently, I am working on Cordova, and does someone know that there are some plugins that have already existed for this kind of camera operations? Thanks
EDIT:
This operation will be done in an APP that will be given the full access of the camera, and the task is how to develop such an APP.
Instead of capturing photo, you should capture video frames. When the captured frame satisfies your requirements, stop capturing the video and proceed.

View 3D PDF on iOS using objective-c

I have at hand a 3D PDF export using AUTOCAD, has some way to view this file in iOS?
Note that do not want to simply display a common PDF, I want to display a 3D object that is in it.
Any solution with other file formats like 3drw is already of great help.
Edit:
Note: I do not mean the applications that are in the apple store, what
I need is a way to implement the code as necessary to integrate it
into the app I'm working on.
3D PDF viewing on iOS is definitely possible. But it works a bit differently than it does on a PC. When you view a 3D PDF on a PC, Adobe Reader displays both the 2D and 3D portions of the PDF file. On iOS, the 3D portion is viewed using a separate app. CHeck out the free 3D PDF Reader from Tech Soft 3D for this:
https://itunes.apple.com/us/app/3d-pdf-reader

AV Foundation Capture Image

My basic task is to capture a part of an image and then use it. To give you an overview, I am creating an app based on OCR, I allow to user to take a picture using camera. However, rather than processing the entire image, I only want some part of it to be selected and send for processing (Preferably a rectangle). So, to sum it up, I want an overlay to be provided, and I want the image inside that overlay to be further used rather than the entire clicked image.
Now, by my understanding, I realize that AVFoundation is the tool to capture the image, however in my app I have used UIImagePicker. I am totally confused since I am a newbie and not sure hot to proceed ahead. Appreciate all for the help. Thanks again
There is fine open source library for OCR in iOS :
https://github.com/nolanbrown/Tesseract-iPhone-Demo
This will work best if the image resolution is 150 * 150 . For more in formation of other libraries you can also refer the SO question:OCR Lib

iPad - taking a picture from the front camera and recognizing a driver's license

Is there any software or SDK out there that can take a picture of a driver's license and recognize it? I'm thinking something like how bar code scanners work where you place the bar code infront of the camera within a specified box and it takes a picture of it.
I don't know any frameworks which may integrate this process, but have you considered doing it manually in few steps? Whole process may look like this:
Add box overlay to UIImagePicker camera view
Capture the picture
Use some OCR tool on it (for example see this: Getting text from image on ios (image processing))
Take license number, decode it and do whatever you want

Resources