java code to check east/west/north/south location of latitude/longitude -- 2

Ukończone Opublikowano 6 lat temu Płatność przy odbiorze
Ukończone Płatność przy odbiorze

I need help creating a Java code library.

Detailed Requirements:

I need Java code which will take 3 parameters (double latitude, double longitude, String highwayName) to check if the given lat/lng point is East, West, North, or South of the given Highway, and will return one of 5 values: isWest, isEast, isNorth, isSouth, or NULL. Input coordinates will be in standard GPS format, also known as WGS-84 (please Google it, do not ask me what is WGS-84). The scope of this project is only San Diego County and only the following highways: I-5, I-15, I-8, I-805, SR-56, SR-52, SR-67, SR-78, and SR-163.

Solution must be compliant with Java 8 and Maven 3.x. All code submitted must be fully tested by the freelancer with multiple testcases showing both positions (east/west or north/south) for each road. Evidence of testing must be submitted in the form of logs, screnshots, etc. Untested code will not be accepted.

Below is some Help and Suggested Algorithm. This is the only help you will receive from the employer:

The data files from SanGIS are attached. You may use the free tool ArcGIS Explorer Desktop to view the files (open [url removed, login to view] first). You can use geotools ([url removed, login to view]) to process the attached files in Java. If you don't like the attached files, you may choose to use Open Street Maps Planet OSM instead or free Google Map APIs (choose this at your own risk).

Algorithm: First you identify the relevant line segment (the segment which spans the same latitude in a north-south highway, or the same longitude in an east-west highway), then use the straight-line formula to see if the point of interest is right or left, above or below the identified segment. All the highways that have an odd number are considered North–South, so they will only be queried for isEast or isWest to the point of interest. The even-numbered highways are considered East–West, so only isNorth or isSouth are valid queries. For example, I-5 is a North–South Highway. Regardless of the complexity of the road's shape, only the number even or odd determines its effective orientation. If the point's projection falls outside of any segment (i.e. after the end of the road), the result should be null (i.e. neither true or false).

Geographical Information System (GIS) Usługi geoprzestrzenne GPS Java

Numer ID Projektu: #15215597

O projekcie

8 ofert Zdalny projekt Aktywny 6 lat temu

Przyznany użytkownikowi:

$25 USD w 1 dzień
(0 ocen)
1.5
PiyushTheRipper

Hi, I'm expert java developer. I respect time and will not waste it. I've seen your project and want to work on it. Relevant Skills and Experience Geographical Information System (GIS), Geospatial, GPS, Java Proposed Więcej

$25 USD w ciągu 3 dni
(2 ocen)
3.0
alexd3v

Hello,\r\nI\'m a Senior Scala/Java Developer with diverse set of skills including geocoding solutions using open source projects.\r\nI\'ll be glad to implement this task with a high quality and tested code.\r\n\r\nRele Więcej

$10 USD w 1 dzień
(4 ocen)
3.4

8 freelancerów złożyło ofertę za $114 w tym projekcie

juniadsarfraz

GIS Developer here. Worked on ArcGIS and WebGIS. Contact me I am interested. Relevant Skills and Experience 4+ years of professional experience. Proposed Milestones $300 USD - .

$300 USD w ciągu 3 dni
(131 Oceny)
7.4
dobreiiita

A proposal has not yet been provided

$250 USD w ciągu 5 dni
(409 Oceny)
7.4
liveexperts123

please ignore the bid amount we will discuss the price later in the chat after we have discussed the project thoroughly Relevant Skills and Experience: . Proposed Milestones: 30 - . Hi afterhourstech! please inbox me t Więcej

$30 USD w ciągu 3 dni
(20 Oceny)
6.1
martinrisa1

Hi, I am professional freelancer and student of theoretic informatics, I have several experience with GIS and Java development. I 've implement such method already in my previous work. Relevant Skills and Experience J Więcej

$250 USD w ciągu 5 dni
(2 Oceny)
2.6
sourindu

A proposal has not yet been provided

$25 USD w ciągu 1 dnia
(0 Oceny)
0.0