{"schemaVersion":1,"resourceType":"connector","slug":"proj","name":"PROJ","catalog":"proj","description":"Reproject coordinates between CRSs and measure geodesic distances on the WGS84 ellipsoid","language":"Python","categories":["geo"],"repository":"https://github.com/Query-farm/vgi-proj","license":"MIT","generatedAt":"2026-12-01T18:22:16+00:00","runtime":{"engineVersion":"2.0.1","protocolVersion":"3.4"},"release":{"tag":"v0.5.0","publishedAt":"2026-11-25T14:29:27Z","url":"https://github.com/Query-farm/vgi-proj/releases/tag/v0.5.0"},"links":{"html":"https://query.farm/products/orchard/connectors/proj/","llms":"https://query.farm/products/orchard/connectors/proj/llms.txt","markdown":"https://query.farm/products/orchard/connectors/proj/index.md","json":"https://query.farm/products/orchard/api/v1/connectors/proj.json","objects":"https://query.farm/products/orchard/api/v1/connectors/proj/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=proj&q={query}"},"authentication":{"mode":"none_declared","guidance":"No service credentials are declared by this connector. Individual datasets, input files or deployments may have their own prerequisites.","interpretation":"Secret parameter required flags describe the upstream declaration; they do not override the service-level mode above. Keep secrets in environment variables or the deployment secret store. SQL values in angle brackets are placeholders, not automatic environment lookups. Native DuckDB and Haybarn 2.0.1 do not provide a SQL getenv() function, even when worker-supplied snippets mention it. Read environment variables in your application and pass credential values through client parameter bindings (for example, Python con.execute(\"CREATE SECRET stripe (TYPE stripe, api_key ?)\", [os.environ[\"STRIPE_API_KEY\"]]) after attaching the connector. Omit unused optional parameters and keep real values out of saved SQL and logs.","secrets":[]},"deployment":{"local":{"methods":[{"id":"uvx","label":"uvx","icon":"simple-icons:python","steps":[{"title":"Attach with uvx","description":"Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.","lang":"sql","code":"ATTACH 'proj' AS proj (\n  TYPE vgi,\n  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-proj@v0.5.0 vgi-proj-worker'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'proj' AS proj (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-proj:0.5.0'\n);"}]}],"pinnedMethods":[{"id":"uvx","label":"uvx","icon":"simple-icons:python","steps":[{"title":"Attach with uvx","description":"Needs uv. uvx builds the worker from its release tag on first attach and reuses the cached environment after that.","lang":"sql","code":"ATTACH 'proj' AS proj (\n  TYPE vgi,\n  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-proj@v0.5.0 vgi-proj-worker'\n);"}]},{"id":"docker","label":"Docker","icon":"simple-icons:docker","steps":[{"title":"Attach the signed image","description":"Needs Docker, Podman or another OCI runtime. The extension runs the container and talks to it over stdio.","lang":"sql","code":"ATTACH 'proj' AS proj (\n  TYPE vgi,\n  LOCATION 'oci://ghcr.io/query-farm/vgi-proj:0.5.0'\n);"}]}]},"selfHost":{"instructions":"https://github.com/Query-farm/vgi-proj","connectionGuide":"https://query.farm/vgi/connect-to-a-worker/","guidance":"Deploy using the connector repository instructions and use its supported HTTP or SSH transport. Replace example URLs with your actual deployment; configure its authentication."},"queryFarm":{"available":true,"console":"https://auth.queryfarm.cloud/console/new?worker=proj","organizationMonthlyMinimumUsd":10,"pricing":"https://query.farm/products/orchard/hosted/"},"publicDemo":null},"setup":{"extensions":{"duckdb":"SET allow_extension_repositories = 'allowed';\n\nCREATE EXTENSION REPOSITORY IF NOT EXISTS query_farm\n    WITH PREFIX 'https://duckdb-extensions.query.farm';\n\nINSTALL vgi FROM query_farm;\nLOAD vgi FROM query_farm;","haybarn":"INSTALL vgi FROM community;\nLOAD vgi;"},"attachSql":"ATTACH 'proj' AS proj (\n  TYPE vgi,\n  LOCATION 'uvx --from git+https://github.com/Query-farm/vgi-proj@v0.5.0 vgi-proj-worker'\n);","attachOptions":[],"note":"Install and load VGI, attach the connector using the catalog alias shown here, then create required secrets. Replace placeholders and omit unused optional secret parameters. Satisfy file, network and credential prerequisites before executing a query."},"example":{"title":"See what you can query","sql":"WITH eye AS (SELECT proj.main.transform(530600.0, 179700.0, 'EPSG:27700', 'EPSG:4326') AS o), sites(site, easting, northing) AS (VALUES ('Edinburgh Castle', 325160.0, 673490.0), ('Cardiff Castle', 318080.0, 176540.0), ('York Minster', 460350.0, 452230.0)), ll AS (SELECT site, proj.main.transform(easting, northing, 'EPSG:27700', 'EPSG:4326') AS p FROM sites) SELECT site, round(p.x, 4) AS lon, round(p.y, 4) AS lat, round(proj.main.geodesic_distance(o.x, o.y, p.x, p.y) / 1000, 1) AS km_from_london_eye FROM ll CROSS JOIN eye ORDER BY km_from_london_eye","requiresCredentials":null,"note":null,"objects":[{"name":"proj.main.transform","kind":"scalar_function","links":{"html":"https://query.farm/products/orchard/connectors/proj/#obj-main-transform","markdown":"https://query.farm/products/orchard/connectors/proj/objects/scalar_function.bWFpbg.dHJhbnNmb3Jt.md","json":"https://query.farm/products/orchard/api/v1/connectors/proj/objects/scalar_function.bWFpbg.dHJhbnNmb3Jt.json"}},{"name":"proj.main.geodesic_distance","kind":"scalar_function","links":{"html":"https://query.farm/products/orchard/connectors/proj/#obj-main-geodesic_distance","markdown":"https://query.farm/products/orchard/connectors/proj/objects/scalar_function.bWFpbg.Z2VvZGVzaWNfZGlzdGFuY2U.md","json":"https://query.farm/products/orchard/api/v1/connectors/proj/objects/scalar_function.bWFpbg.Z2VvZGVzaWNfZGlzdGFuY2U.json"}}],"evidence":{"status":"captured_result","capturedAt":"2026-12-01T06:16:30+00:00","engineVersion":"2.0.1","protocolVersion":"3.4.0","releaseTag":"v0.5.0","sample":{"columns":["site","lon","lat","km_from_london_eye"],"types":["VARCHAR","DOUBLE","DOUBLE","DOUBLE"],"rows":[["Cardiff Castle",-3.1811,51.4819,212.6],["York Minster",-1.0816,53.9626,281.5],["Edinburgh Castle",-3.2,55.9486,535]],"more":false}},"artifact":null},"objects":{"total":8,"index":"https://query.farm/products/orchard/api/v1/connectors/proj/objects.json","search":"https://query.farm/products/orchard/api/v1/search.json?kind=object&connector=proj&q={query}"},"agentTasks":["What is the official human-readable name of the coordinate reference system identified by EPSG code 4326?","What are the linear axis units of the Web Mercator coordinate reference system, EPSG:3857?","Which UTM zone number contains the WGS84 location at longitude -122.42, latitude 37.77? Return just the zone number.","Using the accurate WGS84 ellipsoid, what is the geodesic distance in whole kilometres (rounded to the nearest kilometre) between New York at longitude -74.006, latitude 40.7128 and London at longitude -0.1276, latitude 51.5074?","What is the initial geodesic bearing in whole degrees (rounded to the nearest degree) from New York at longitude -74.006, latitude 40.7128 toward London at longitude -0.1276, latitude 51.5074?","Convert the WGS84 point at longitude -122.4194, latitude 37.7749 into Web Mercator (EPSG:3857) and give its x coordinate in metres, rounded to the nearest metre.","Transform the WGS84 point at longitude -122.42, latitude 37.77 from EPSG:4326 into Web Mercator (EPSG:3857), and give its x coordinate in metres, rounded to the nearest metre.","Convert the Web Mercator point x = -13627665.27, y = 4547675.35 (EPSG:3857) back to WGS84, and give the recovered longitude in degrees, rounded to 2 decimal places."],"provenance":{"generatedAt":"2026-12-01T18:22:16+00:00","repository":"https://github.com/Query-farm/vgi-proj","harvest":{"status":"ok","method":"subprocess","error":null,"vgi_version":"9773130dde"},"catalogVerification":{"verified":true,"status":"passed","total":10,"passed":10,"failed":0,"needs_credentials":0,"location":"uvx --from git+https://github.com/Query-farm/vgi-proj@v0.5.0 vgi-proj-worker","transport":"subprocess","environment":{"vgi_extension_version":"9773130dde","haybarn_version":"2.0.1rc3","engine_version":"v2.0.1","python":"3.12.4","platform":"darwin_arm64","protocol_version":"3.4.0"},"checked_at":"2026-12-01T06:16:15+00:00"},"interpretation":"Catalog verification records the harvest environment. It is not proof that every query or current live API call succeeds. Only an example with captured_result has a saved result for that exact SQL."},"interpretation":["Missing, null, or undeclared metadata means unknown; do not invent defaults, credential scope, platform support or endpoint URLs.","Search is keyword retrieval, not proof of a capability. Read the exact object declaration before generating SQL.","A table and a table function can have the same name. Preserve parentheses and use the matching overload and schema.","Service credentials, external data availability and deployment authentication are separate requirements."]}