Coder Social home page Coder Social logo

map-services-enhanced's Introduction

Map Services Enhanced For Chrome

A Chrome extension implementing functions from ESRI REST Diagnostics, collecting and presenting data releted to ArcGIS Server REST Services.

Purpose

ArcGIS Server provides a REST-based endpoint that applications can use to request and edit geographic data. The HTML pages generated by the services provide a lightweight framework to inspect and test services.

But sometimes you need a little more information. Collecting data from multiple map services requires visiting each link, then going back and visiting the next link. Remembering field names and properties can be a hassle.

The ESRI REST Diagnostics tools were designed to make the pages easier to query and use. Over 15 bookmarklets were developed to help map service testing and querying.

The Map Services Enhanced project is a Chrome extension that packs all the features of ESRI REST Diagnostics into one tool. Depending on the ArGIS REST Service page you're visiting, this Chrome Extension will present appropriate controls to help you work with your ArcGIS Server map services.

Features

  • Search REST endpoints for map layers, field names, and other service properties.
  • View metadata on multiple services without having to visit each one.
  • Collect feature count in each map layer.
  • Map service spatial references color coded for easy comparison.
  • Count results of each field and domain in a map service layer.
  • Create SQL queries with the click of a mouse.
  • Simplify map export service testing.
  • URL Shortener for query pages with unnecessarily long query parameter lists.
  • Map image viewer for previewing services.

map-services-enhanced's People

Contributors

raykendo avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

map-services-enhanced's Issues

[Feature Request] - URL Shortener

Spatial Reference Dropdown injection from Options

In query, find, identify, etc. where spatial reference fields are requested, add a dropdown + a hidden blank where user can select common spatial references.

  • Must include current map spatial reference.
  • Include Lat/Lng ESPG 4326
  • Include Web Mercator Auxiliary Sphere ESPG 3857
  • Include spatial references added from options.

Map Viewer

Add a map viewer that lets you over or click a button to see the map in a panel.

Service Metadata fails when extents with NaN value appear

ESRI Netherlands reported that Metadata display failed at a specific service. Upon inspection of the map service JSON, we discovered the extents had NaN values. JSON.parse choked on the NaN values, since there were no quotes around the text.
{ "xmin":NaN, "xmax":NaN, "ymin":NaN, "ymax":NaN, "spatialReference": {"wkid": 1234} }

Error getting count on shape field for layers with shapefiles as data source

When viewing a map service with layers that use shapefiles as their source, the extension adds an error on the page as follows:

Error:
   Code: -2147220985
   Message: Failed to execute query.
   Details: []

The error occurs when testing the shape field (esriFieldTypeGeometry) of a layer. Other fields do not show the same error.

Query sent to the server: where=not SHAPE is null

Query Builder didn't show up

Hello,

I was very interested in the tool to use the interactive query builder, but it did not show up on the page. This error shows up in the console:

image

Identify Task Helper

An Identify Task helper for the application. Needs the following:

  • Point Selector using map viewer and map spatial reference.
  • Autofill spatial reference
  • Autofill for valid layerIds
  • Autofill map extent
  • Autofill tolerance from Options
  • Inject Select for Layer Options

Automatically submit form when you click "select all"

I often click select all and then have to scroll down and press "query (GET)". to reduce button clicks for this common workflow, i'd prefer either of the follwowing:

  1. Have the chrome plugin auto-fill where:1=1 and outFields:* when you get to the page by default (if there are not any pre-filled values from a previous search). Then i only have to click one button on the page ("Query GET")
  2. When I click Select All button, fill the form and automatically submit the form for me.

Geometry JSON helper

Looking to add an easy to use Geometry JSON entry tool. Should be able to do the following:

  • Select a shape type (point, line, polygon, extent, etc)
  • Enter point data (x, y, z?, m?)
  • Select Spatial reference from dropdown.
  • Click a button to enter the data into a blank.

Helper for FindTask

FindTask needs some love, too. Needs the following:

  • Layer names/ids in select
  • Field names in select.
  • Values when selecting field

Question: Do the field names need to update as the layer changes, or should we dump all field names from every layer in the mix? Probably go with changing field names as layers are selected.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.