<commit_before># geonorge-nedlastingapi

An implementation in Java of the Geonorge Download API 
Geonorge Download API enables seemless integration of distributes downloadable geographic datasets
from data owners (mostly governmental agencies, municipalities etc) into the geonorge portal.

The official API documentation available at https://nedlasting.geonorge.no/Help



With this download api you can integrate download and query a dataset for
  
  - Its capabilities (polygon selection,area selection etc)
  
  - Which formats the dataset supports
  
  - Which projections the dataset supports
  
  - Order the dataset in a chosen format/projection


This API-implementation is developed using Java, Maven and JUnit.

Checkout the source code and build from source using Maven:
```
sh
$ mvn package 

$ java -jar target/geonorge-download-<version>.jar

$ 



This will start an embedded webserver running Jetty.

The webserver (CORS-enabled) is running at no.geonorge.download.httpd.DownloadWebServer
The REST-api is autoconfigured with Jersey annotations at no.geonorge.rest.DownloadService



Author: Bjorn.Ove.<EMAIL><commit_msg>Added comment on deployment alternatives and project files for IDEs<commit_after># geonorge-nedlastingapi

An implementation in Java of the Geonorge Download API 
Geonorge Download API enables seemless integration of distributes downloadable geographic datasets
from data owners (mostly governmental agencies, municipalities etc) into the geonorge portal.

The official API documentation available at https://nedlasting.geonorge.no/Help



With this download api you can integrate download and query a dataset for
  
  - Its capabilities (polygon selection,area selection etc)
  
  - Which formats the dataset supports
  
  - Which projections the dataset supports
  
  - Order the dataset in a chosen format/projection


This API-implementation is developed using Java, Maven and JUnit.

Checkout the source code and build from source using Maven:
```
sh
$ mvn package 

$ java -jar target/geonorge-download-<version>.jar

$ 



This will start an embedded webserver running Jetty from a jar file. 
You can also change packaging in pom.xml from jar to war, and deploy war-file to Tomcat,JBoss etc.

The webserver (CORS-enabled) is running at no.geonorge.download.httpd.DownloadWebServer
The REST-api is autoconfigured with Jersey annotations at no.geonorge.rest.DownloadService



Use with your favourite IDE:

- Eclipse: mvn eclipse:eclipse

- IntelliJ IDEA: mvn idea:idea






Author: Bjorn.<EMAIL>
{'fraction_non_alphanumeric': 0.04923198109491926, 'fraction_numerical': 0.0, 'mean_word_length': 4.404255319148936, 'pattern_counts': {'":': 0, '<': 7, '<?xml version=': 0, '>': 7, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 1}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 18, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3151194', 'n_tokens_mistral': 705, 'n_tokens_neox': 650, 'n_words': 297}