Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Don't append feature prefix twice in WFS requests
Some WFS servers like tinyOWS require the feature prefix to be in the feature type for the feature to be found (eg `prefix:layer`). The problem was, the prefix was always added to the feature type which gave us a type name like `prefix:prefix:feature` or `feature:prefix:feature`. The requests were then rejected by the WFS server. We now check if the feature type starts with the prefix. If it does, we don't append it again. If it doesn't we do.
- Loading branch information
Julien Enselme
committed
Feb 21, 2017
1 parent
b05136e
commit d54fada
Showing
1 changed file
with
31 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters