I am writing an Android programm where you can fill out parking tickets automatically.
Moreover, this programm has an OSM built in, where your current location is marked.
Now, I want to show all zones where a parking ticket is being needed!
I have all the coordinates for it, however, marking everything on the fly would be very time consuming. That`s why I would like to do it in a static way, but I do not know whether that is possible or not?
Maybe, someone could give me a hint how to solve this problem?
Thank you very much in advance!
BR,
Bernd
Related
Is anyone knows how to do a building system like coc / boom beach? I know how to do a fortnite building system but there's only 1x1 structures to do while i need 3x2, 5x3 and many more sizes to go. I'm going to do it using UE4 with Blueprints. I've been looking so long and couldn't find answer. Hope you'll help me!
Thanks.
As the question is rather vague and doesn't give anyone much to go on. I'll try to take a stab at it, conceptually at least.
I'd assume that you have a base building BP or struct so, in there I would create a Vector2D variable or something similar to give it a length and width per building.
Then when you are trying to spawn the building, check the tiles that are that length and width away from the center of the screen/cursor for any existing buildings. Then when you spawn the building make sure that the building takes claim over the tiles that it is using so others will not be able to overlap later on.
So your main "meat and potatoes" of this project will be creating a grid system and also creating a system that can check whether or not a tile is inhabited already and also using and releasing tiles when needed.
If you want someone to give you a more concrete answer, you will need to show what you have done and tried in your question. Especially for one as broad as this one.
I would like to place an image on google maps so that it fits the shape of the country or state that it is placed in. I've been looking in to the GMSGroundOverlay as a potential way of accomplishing this, but I can't figure out an easy way to make the overlay take on the shape of a state/country. I was hoping someone might have a suggestion on how to do this?
Thanks in advance
I need to detect the full face region in my app...
Is it possible to detect that region ?
Currently i was using the CIDector to get the face features...
CIDector detects only nose,left and right eye...
how do i detect the entire full face(not as square marked face entire space. I attached the image below exactly what is the need) from the source image...?
any idea or solution for this problem is highly appreciated...
Thanks in advance....
Regards,
Spynet
I am not sure, if it is possible to do it using CIDetector. I would recommend you more sofisticated solution like OpenCV. Take a look here: http://www.eosgarden.com/en/opensource/opencv-ios/overview/
and to the OpenCV documentation:
http://opencv.willowgarage.com/wiki/
Hope it helps. It is ore complicated way but you can handle it.
I like to develop a hair styling application for which allows the user to take a picture and try different predefined hair styles.I need to correctly place the predefined hair in correct position of image.I really don't know from where i need to start.If any one have any ideas please share it. Thanks in advance .....
Start looking into OpenCV (image processing library) to detect the eyes position and face bounds. You can then compute the location where the hair has to be placed over.
http://opencv.willowgarage.com/wiki/FaceDetection
http://www.codeproject.com/KB/library/eyes.aspx - A sample project which exactly answers you
Really hope someone can help me as I'm a bit stuck :S
I have a custom map of an event using the CATiledLayer so users can zoom in and scroll around the map. What I would like to do now is add the functionality to let the user know where they currently are on the map. I know it can be done as I've seen an app do this before. I'm not sure how to go about doing it though, maybe I need to convert lat/lon into pixels but I'm not sure if thats possible (depending on how big the image is, etc).
On another site it was mentioned to find out the boundaries of the map and then I can add pins to the map, but I'm not sure how to go about doing this? Will I need to find every coordinate (lat/lon) within the boundary so I can add the pin of where the user is currently?
If anyone can give me with any advice or pointers, I'd much appreciate it
You can use the route-me library by adding your own map source class. A good article that explains how to do it is here http://mobilegeo.wordpress.com/2010/07/07/route-me-native-iphone-mapping-framework/
I'm facing a challenge right now in trying to map GPS coords to a map that's an artist's rendition. In particular this is for a ski mountain, so the artist's rendition is a "trail map". The trail map is not accurate in that the whole mountain has been squeezed onto the one view, yet the actual topology of the mountain doesn't conform to the drawing.
I've tried several approaches:
1) Triangulation using known GPS coordinates of the lift stations. This is fairly simple to implement, yet this is not accurate enough and the algorithm fails if the rendition differs enough from the GPS map.
2) Creating a uniform grid for both the GPS map and the Trailmap, then doing a mapping from cells in the GPS map to the Trailmap. The downside to this is it can be a lot of busy work with no easy UI for doing it.
3) Calculating the vectors of each lift (being a straight line), find the closet lift station to a given GPS point, and calculate the estimated Trailmap location using this vector.
I'm considering #2, which is essentially the simplest solution. But if you've found a better way, I'd love to hear it.