Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update links #88

Merged
merged 1 commit into from
Sep 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ wfstPoint.addTo(map);
|crs|L.CRS.EPSG3857|spatial reference system for layer, should implement [ICRS](http://leafletjs.com/reference.html#icrs), for example [Proj4Leaflet](https://github.com/kartena/Proj4Leaflet) |
|showExisting|true|load existing features on create layer|
|geometryField|'Shape'|field for storing geometries, for non transaction services may be ommited|
|url|-|WFS url, for example http://demo.opengeo.org/geoserver/osm/ows
|url|-|WFS url, for example http://geoserver.ics.perm.ru/geoserver/osm/ows
|typeNS|-|type namespace|
|typeName|-|type name|
|typeNSName|-|type namespace name|
Expand All @@ -88,7 +88,7 @@ wfstPoint.addTo(map);
var map = L.map('map').setView([0, 0], 2);

var boundaries = new L.WFS({
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_state_boundaries',
crs: L.CRS.EPSG4326,
Expand Down
6 changes: 3 additions & 3 deletions examples/tasmania.html
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
}).addTo(map);

var boundaries = new L.WFS({
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_state_boundaries',
crs: L.CRS.EPSG4326,
Expand All @@ -41,7 +41,7 @@
});

var roads = new L.WFS({
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_roads',
crs: L.CRS.EPSG4326,
Expand All @@ -53,7 +53,7 @@
}).addTo(map);

var cities = new L.WFS({
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down
26 changes: 13 additions & 13 deletions spec/WFS.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ describe('WFS', function () {
'xmlns:xsd="http://www.w3.org/2001/XMLSchema" ' +
'elementFormDefault="qualified" ' +
'targetNamespace="http://www.openplans.org/topp"> ' +
'<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://demo.opengeo.org:80/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>' +
'<xsd:import namespace="http://www.opengis.net/gml" schemaLocation="http://geoserver.ics.perm.ru:80/geoserver/schemas/gml/3.1.1/base/gml.xsd"/>' +
'<xsd:complexType name="tasmania_citiesType">' +
'<xsd:complexContent>' +
'<xsd:extension base="gml:AbstractFeatureType">' +
Expand Down Expand Up @@ -129,7 +129,7 @@ describe('WFS', function () {
});

var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
geometryField: 'the_geom',
Expand Down Expand Up @@ -181,7 +181,7 @@ describe('WFS', function () {

it('should trigger \'error\' event if \'DescribeFeatureType\' request failed', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -225,7 +225,7 @@ describe('WFS', function () {

it('should trigger \'error\' event if \'DescribeFeatureType\' request succeed but with ExceptionReport', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -269,7 +269,7 @@ describe('WFS', function () {

it('should trigger \'error\' event if \'DescribeFeatureType\' request succeed, but \'GetFeature\' request failed', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -322,7 +322,7 @@ describe('WFS', function () {

it('should trigger \'error\' event if \'DescribeFeatureType\' request succeed, but \'GetFeature\' request succeed with ExceptionReport', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -375,7 +375,7 @@ describe('WFS', function () {

it('should trigger \'load\' event if \'DescribeFeatureType\' request succeed, and \'GetFeature\' request succeed', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -436,7 +436,7 @@ describe('WFS', function () {

beforeEach(function () {
options1 = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
geometryField: 'the_geom',
Expand All @@ -445,7 +445,7 @@ describe('WFS', function () {
};

options2 = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
geometryField: 'the_geom',
Expand Down Expand Up @@ -498,7 +498,7 @@ describe('WFS', function () {
server = sinon.fakeServer.create();

var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
geometryField: 'the_geom',
Expand Down Expand Up @@ -588,7 +588,7 @@ describe('WFS', function () {

it('should trigger \'errorCallback\' if \'GetCapabilities\' request failed', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -629,7 +629,7 @@ describe('WFS', function () {

it('should trigger \'errorCallback\' if \'GetCapabilities\' request succeed but with ExceptionReport', function () {
var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'topp',
typeName: 'tasmania_cities',
crs: L.CRS.EPSG4326,
Expand Down Expand Up @@ -680,7 +680,7 @@ describe('WFS', function () {
server = sinon.fakeServer.create();

var options = {
url: 'http://demo.opengeo.org/geoserver/ows',
url: 'http://geoserver.ics.perm.ru/geoserver/ows',
typeNS: 'ics',
typeName: 'zayavki',
geometryField: 'the_geom',
Expand Down